pub enum SnapshotCommand {
Create {
name: String,
description: Option<String>,
},
Restore {
name: String,
},
List,
Delete {
name: String,
},
Diff {
name1: String,
name2: String,
},
}Expand description
SNAPSHOT command
Variants§
Trait Implementations§
Source§impl Clone for SnapshotCommand
impl Clone for SnapshotCommand
Source§fn clone(&self) -> SnapshotCommand
fn clone(&self) -> SnapshotCommand
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 SnapshotCommand
impl Debug for SnapshotCommand
Source§impl<'de> Deserialize<'de> for SnapshotCommand
impl<'de> Deserialize<'de> for SnapshotCommand
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 SnapshotCommand
impl PartialEq for SnapshotCommand
Source§impl Serialize for SnapshotCommand
impl Serialize for SnapshotCommand
impl StructuralPartialEq for SnapshotCommand
Auto Trait Implementations§
impl Freeze for SnapshotCommand
impl RefUnwindSafe for SnapshotCommand
impl Send for SnapshotCommand
impl Sync for SnapshotCommand
impl Unpin for SnapshotCommand
impl UnwindSafe for SnapshotCommand
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