Struct qapi_qmp::DriveMirror [−][src]
pub struct DriveMirror {
pub sync: MirrorSyncMode,
pub copy_mode: Option<MirrorCopyMode>,
pub job_id: Option<String>,
pub format: Option<String>,
pub device: String,
pub target: String,
pub replaces: Option<String>,
pub node_name: Option<String>,
pub mode: Option<NewImageMode>,
pub buf_size: Option<isize>,
pub on_target_error: Option<BlockdevOnError>,
pub speed: Option<isize>,
pub on_source_error: Option<BlockdevOnError>,
pub granularity: Option<u32>,
pub unmap: Option<bool>,
}Fields
sync: MirrorSyncMode
copy_mode: Option<MirrorCopyMode>
job_id: Option<String>
format: Option<String>
device: String
target: String
replaces: Option<String>
node_name: Option<String>
mode: Option<NewImageMode>
buf_size: Option<isize>
on_target_error: Option<BlockdevOnError>
speed: Option<isize>
on_source_error: Option<BlockdevOnError>
granularity: Option<u32>
unmap: Option<bool>
Trait Implementations
impl Debug for DriveMirror[src]
impl Debug for DriveMirrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for DriveMirror[src]
impl Clone for DriveMirrorfn clone(&self) -> DriveMirror[src]
fn clone(&self) -> DriveMirrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for DriveMirror
impl Send for DriveMirrorimpl Sync for DriveMirror
impl Sync for DriveMirror