pub struct MutationOutcome { /* private fields */ }Expand description
Successful mutation command outcome metadata.
Implementations§
Source§impl MutationOutcome
impl MutationOutcome
Sourcepub fn new(sequence: u64, applied: AppliedMutation) -> Self
pub fn new(sequence: u64, applied: AppliedMutation) -> Self
Creates a new mutation outcome.
Sourcepub fn applied(&self) -> &AppliedMutation
pub fn applied(&self) -> &AppliedMutation
Returns the semantic effect applied by the mutation.
Trait Implementations§
Source§impl Clone for MutationOutcome
impl Clone for MutationOutcome
Source§fn clone(&self) -> MutationOutcome
fn clone(&self) -> MutationOutcome
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 Debug for MutationOutcome
impl Debug for MutationOutcome
Source§impl PartialEq for MutationOutcome
impl PartialEq for MutationOutcome
impl Eq for MutationOutcome
impl StructuralPartialEq for MutationOutcome
Auto Trait Implementations§
impl Freeze for MutationOutcome
impl RefUnwindSafe for MutationOutcome
impl Send for MutationOutcome
impl Sync for MutationOutcome
impl Unpin for MutationOutcome
impl UnsafeUnpin for MutationOutcome
impl UnwindSafe for MutationOutcome
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