pub enum BlockJobChangeOptions {
mirror {
id: String,
mirror: BlockJobChangeOptionsMirror,
},
commit(String),
stream(String),
backup(String),
create(String),
amend(String),
snapshot_load(String),
snapshot_save(String),
snapshot_delete(String),
}
Variants§
mirror
commit(String)
stream(String)
backup(String)
create(String)
amend(String)
snapshot_load(String)
snapshot_save(String)
snapshot_delete(String)
Implementations§
Trait Implementations§
Source§impl Clone for BlockJobChangeOptions
impl Clone for BlockJobChangeOptions
Source§fn clone(&self) -> BlockJobChangeOptions
fn clone(&self) -> BlockJobChangeOptions
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 BlockJobChangeOptions
impl Debug for BlockJobChangeOptions
Source§impl<'de> Deserialize<'de> for BlockJobChangeOptions
impl<'de> Deserialize<'de> for BlockJobChangeOptions
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 From<(BlockJobChangeOptionsMirror, String)> for BlockJobChangeOptions
impl From<(BlockJobChangeOptionsMirror, String)> for BlockJobChangeOptions
Source§fn from(val: (BlockJobChangeOptionsMirror, String)) -> Self
fn from(val: (BlockJobChangeOptionsMirror, String)) -> Self
Converts to this type from the input type.
Source§impl From<BlockJobChangeOptions> for block_job_change
impl From<BlockJobChangeOptions> for block_job_change
Source§fn from(val: BlockJobChangeOptions) -> Self
fn from(val: BlockJobChangeOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockJobChangeOptions
impl RefUnwindSafe for BlockJobChangeOptions
impl Send for BlockJobChangeOptions
impl Sync for BlockJobChangeOptions
impl Unpin for BlockJobChangeOptions
impl UnwindSafe for BlockJobChangeOptions
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