Enum vstorage::sync::plan::CollectionAction
source · pub enum CollectionAction {
NoAction(MappingUid),
SaveToStatus,
CreateInA,
CreateInB,
CreateInBoth,
Delete(MappingUid, Side),
}
Expand description
Operation to execute on a collection during synchronising.
Variants§
Trait Implementations§
source§impl Clone for CollectionAction
impl Clone for CollectionAction
source§fn clone(&self) -> CollectionAction
fn clone(&self) -> CollectionAction
Returns a copy 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 CollectionAction
impl Debug for CollectionAction
source§impl Display for CollectionAction
impl Display for CollectionAction
source§impl PartialEq for CollectionAction
impl PartialEq for CollectionAction
source§fn eq(&self, other: &CollectionAction) -> bool
fn eq(&self, other: &CollectionAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectionAction
Auto Trait Implementations§
impl Freeze for CollectionAction
impl RefUnwindSafe for CollectionAction
impl Send for CollectionAction
impl Sync for CollectionAction
impl Unpin for CollectionAction
impl UnwindSafe for CollectionAction
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.