pub struct DeployReport {
pub built: Vec<String>,
pub copied: Vec<String>,
pub activated: Vec<String>,
pub build_failures: Vec<(String, String)>,
pub copy_failures: Vec<(String, String)>,
pub activation_failures: Vec<(String, String)>,
}Expand description
Summary of a deployment run.
Fields§
§built: Vec<String>Hosts whose closures were built successfully.
copied: Vec<String>Hosts whose closures were copied successfully.
activated: Vec<String>Hosts that were activated successfully.
build_failures: Vec<(String, String)>Hosts that failed to build (name, error message).
copy_failures: Vec<(String, String)>Hosts that failed closure copy (name, error message).
activation_failures: Vec<(String, String)>Hosts that failed activation (name, error message).
Implementations§
Source§impl DeployReport
impl DeployReport
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether the deployment was fully successful (no failures).
Sourcepub fn failure_count(&self) -> usize
pub fn failure_count(&self) -> usize
Total number of failures across all phases.
Sourcepub fn success_count(&self) -> usize
pub fn success_count(&self) -> usize
Number of hosts that completed successfully (all phases).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeployReport
impl RefUnwindSafe for DeployReport
impl Send for DeployReport
impl Sync for DeployReport
impl Unpin for DeployReport
impl UnsafeUnpin for DeployReport
impl UnwindSafe for DeployReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more