pub enum RawUpdateDescription {
Automatic(ComponentRevision),
SnapshotBased(RawSnapshotBasedUpdate),
}Expand description
Raw update description used in oplog entries
Variants§
Automatic(ComponentRevision)
Automatic update by replaying the oplog on the new version
SnapshotBased(RawSnapshotBasedUpdate)
Custom update by loading a given snapshot on the new version
Trait Implementations§
Source§impl Clone for RawUpdateDescription
impl Clone for RawUpdateDescription
Source§fn clone(&self) -> RawUpdateDescription
fn clone(&self) -> RawUpdateDescription
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 moreAuto Trait Implementations§
impl Freeze for RawUpdateDescription
impl RefUnwindSafe for RawUpdateDescription
impl Send for RawUpdateDescription
impl Sync for RawUpdateDescription
impl Unpin for RawUpdateDescription
impl UnsafeUnpin for RawUpdateDescription
impl UnwindSafe for RawUpdateDescription
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