pub struct RestoreApplyOperationKindCounts {
pub snapshot_uploads: usize,
pub snapshot_loads: usize,
pub code_reinstalls: usize,
pub member_verifications: usize,
pub fleet_verifications: usize,
pub verification_operations: usize,
}Expand description
RestoreApplyOperationKindCounts
Fields§
§snapshot_uploads: usize§snapshot_loads: usize§code_reinstalls: usize§member_verifications: usize§fleet_verifications: usize§verification_operations: usizeImplementations§
Source§impl RestoreApplyOperationKindCounts
impl RestoreApplyOperationKindCounts
Sourcepub fn from_operations(operations: &[RestoreApplyJournalOperation]) -> Self
pub fn from_operations(operations: &[RestoreApplyJournalOperation]) -> Self
Count restore apply journal operations by runner operation kind.
Sourcepub fn validate_matches_if_supplied(
&self,
expected: &Self,
) -> Result<(), RestoreApplyJournalError>
pub fn validate_matches_if_supplied( &self, expected: &Self, ) -> Result<(), RestoreApplyJournalError>
Validate this count object against concrete operations when it was supplied.
Sourcepub fn from_dry_run_phases(phases: &[RestoreApplyDryRunPhase]) -> Self
pub fn from_dry_run_phases(phases: &[RestoreApplyDryRunPhase]) -> Self
Count restore apply dry-run operations by runner operation kind.
Trait Implementations§
Source§impl Clone for RestoreApplyOperationKindCounts
impl Clone for RestoreApplyOperationKindCounts
Source§fn clone(&self) -> RestoreApplyOperationKindCounts
fn clone(&self) -> RestoreApplyOperationKindCounts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RestoreApplyOperationKindCounts
impl Default for RestoreApplyOperationKindCounts
Source§fn default() -> RestoreApplyOperationKindCounts
fn default() -> RestoreApplyOperationKindCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestoreApplyOperationKindCounts
impl<'de> Deserialize<'de> for RestoreApplyOperationKindCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RestoreApplyOperationKindCounts
impl PartialEq for RestoreApplyOperationKindCounts
Source§fn eq(&self, other: &RestoreApplyOperationKindCounts) -> bool
fn eq(&self, other: &RestoreApplyOperationKindCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RestoreApplyOperationKindCounts
impl StructuralPartialEq for RestoreApplyOperationKindCounts
Auto Trait Implementations§
impl Freeze for RestoreApplyOperationKindCounts
impl RefUnwindSafe for RestoreApplyOperationKindCounts
impl Send for RestoreApplyOperationKindCounts
impl Sync for RestoreApplyOperationKindCounts
impl Unpin for RestoreApplyOperationKindCounts
impl UnsafeUnpin for RestoreApplyOperationKindCounts
impl UnwindSafe for RestoreApplyOperationKindCounts
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