Struct qapi_qmp::BackupCommon
source · [−]pub struct BackupCommon {Show 13 fields
pub device: String,
pub on_source_error: Option<BlockdevOnError>,
pub auto_finalize: Option<bool>,
pub x_perf: Option<BackupPerf>,
pub on_target_error: Option<BlockdevOnError>,
pub job_id: Option<String>,
pub bitmap: Option<String>,
pub sync: MirrorSyncMode,
pub auto_dismiss: Option<bool>,
pub filter_node_name: Option<String>,
pub speed: Option<i32>,
pub bitmap_mode: Option<BitmapSyncMode>,
pub compress: Option<bool>,
}Fields
device: Stringon_source_error: Option<BlockdevOnError>auto_finalize: Option<bool>x_perf: Option<BackupPerf>on_target_error: Option<BlockdevOnError>job_id: Option<String>bitmap: Option<String>sync: MirrorSyncModeauto_dismiss: Option<bool>filter_node_name: Option<String>speed: Option<i32>bitmap_mode: Option<BitmapSyncMode>compress: Option<bool>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