pub struct ApplyOutcome {
pub service: ServiceView,
pub applied: usize,
pub destructive: bool,
}Expand description
The outcome of a mutating operation: the affected service’s fresh view plus
what the apply did. applied is the number of steps/changes executed (0 =
nothing to do); destructive is true when the change deletes data.
Fields§
§service: ServiceView§applied: usize§destructive: boolTrait Implementations§
Source§impl Clone for ApplyOutcome
impl Clone for ApplyOutcome
Source§fn clone(&self) -> ApplyOutcome
fn clone(&self) -> ApplyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplyOutcome
impl Debug for ApplyOutcome
Source§impl<'de> Deserialize<'de> for ApplyOutcome
impl<'de> Deserialize<'de> for ApplyOutcome
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
Auto Trait Implementations§
impl Freeze for ApplyOutcome
impl RefUnwindSafe for ApplyOutcome
impl Send for ApplyOutcome
impl Sync for ApplyOutcome
impl Unpin for ApplyOutcome
impl UnsafeUnpin for ApplyOutcome
impl UnwindSafe for ApplyOutcome
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