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: String
§sync: MirrorSyncMode
§target: String
Trait Implementations§
source§impl Clone for DriveMirror
impl Clone for DriveMirror
source§fn clone(&self) -> DriveMirror
fn clone(&self) -> DriveMirror
Returns a copy 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 DriveMirror
impl Debug for DriveMirror
source§impl<'de> Deserialize<'de> for DriveMirror
impl<'de> Deserialize<'de> for DriveMirror
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<DriveMirror> for drive_mirror
impl From<DriveMirror> for drive_mirror
source§fn from(val: DriveMirror) -> Self
fn from(val: DriveMirror) -> Self
Converts to this type from the input type.
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§
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