Struct qapi_qmp::BackupCommon
source · [−]pub struct BackupCommon {Show 13 fields
pub speed: Option<i32>,
pub auto_dismiss: Option<bool>,
pub x_perf: Option<BackupPerf>,
pub job_id: Option<String>,
pub filter_node_name: Option<String>,
pub bitmap_mode: Option<BitmapSyncMode>,
pub sync: MirrorSyncMode,
pub compress: Option<bool>,
pub on_source_error: Option<BlockdevOnError>,
pub auto_finalize: Option<bool>,
pub device: String,
pub bitmap: Option<String>,
pub on_target_error: Option<BlockdevOnError>,
}Fields
speed: Option<i32>auto_dismiss: Option<bool>x_perf: Option<BackupPerf>job_id: Option<String>filter_node_name: Option<String>bitmap_mode: Option<BitmapSyncMode>sync: MirrorSyncModecompress: Option<bool>on_source_error: Option<BlockdevOnError>auto_finalize: Option<bool>device: Stringbitmap: Option<String>on_target_error: Option<BlockdevOnError>Trait Implementations
sourceimpl Clone for BackupCommon
impl Clone for BackupCommon
sourcefn clone(&self) -> BackupCommon
fn clone(&self) -> BackupCommon
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BackupCommon
impl Debug for BackupCommon
sourceimpl<'de> Deserialize<'de> for BackupCommon
impl<'de> Deserialize<'de> for BackupCommon
sourcefn 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
sourceimpl Serialize for BackupCommon
impl Serialize for BackupCommon
Auto Trait Implementations
impl RefUnwindSafe for BackupCommon
impl Send for BackupCommon
impl Sync for BackupCommon
impl Unpin for BackupCommon
impl UnwindSafe for BackupCommon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more