Struct qapi_qmp::DriveMirror
source · [−]pub struct DriveMirror {Show 17 fields
pub auto_dismiss: Option<bool>,
pub auto_finalize: Option<bool>,
pub buf_size: Option<i64>,
pub copy_mode: Option<MirrorCopyMode>,
pub format: Option<String>,
pub granularity: Option<u32>,
pub job_id: Option<String>,
pub mode: Option<NewImageMode>,
pub node_name: Option<String>,
pub on_source_error: Option<BlockdevOnError>,
pub on_target_error: Option<BlockdevOnError>,
pub replaces: Option<String>,
pub speed: Option<i64>,
pub unmap: Option<bool>,
pub device: String,
pub sync: MirrorSyncMode,
pub target: String,
}Fields
auto_dismiss: Option<bool>auto_finalize: Option<bool>buf_size: Option<i64>copy_mode: Option<MirrorCopyMode>format: Option<String>granularity: Option<u32>job_id: Option<String>mode: Option<NewImageMode>node_name: Option<String>on_source_error: Option<BlockdevOnError>on_target_error: Option<BlockdevOnError>replaces: Option<String>speed: Option<i64>unmap: Option<bool>device: Stringsync: MirrorSyncModetarget: StringTrait Implementations
sourceimpl Clone for DriveMirror
impl Clone for DriveMirror
sourcefn clone(&self) -> DriveMirror
fn clone(&self) -> DriveMirror
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 moresourceimpl Debug for DriveMirror
impl Debug for DriveMirror
sourceimpl<'de> Deserialize<'de> for DriveMirror
impl<'de> Deserialize<'de> for DriveMirror
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 From<DriveMirror> for drive_mirror
impl From<DriveMirror> for drive_mirror
sourcefn from(val: DriveMirror) -> Self
fn from(val: DriveMirror) -> Self
Converts to this type from the input type.
sourceimpl Serialize for DriveMirror
impl Serialize for DriveMirror
Auto Trait Implementations
impl RefUnwindSafe for DriveMirror
impl Send for DriveMirror
impl Sync for DriveMirror
impl Unpin for DriveMirror
impl UnwindSafe for DriveMirror
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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