#[repr(C)]pub struct DriveBackup {Show 19 fields
pub has_job_id: bool,
pub job_id: *mut c_char,
pub device: *mut c_char,
pub target: *mut c_char,
pub has_format: bool,
pub format: *mut c_char,
pub sync: MirrorSyncMode,
pub has_mode: bool,
pub mode: NewImageMode,
pub has_speed: bool,
pub speed: i64,
pub has_bitmap: bool,
pub bitmap: *mut c_char,
pub has_compress: bool,
pub compress: bool,
pub has_on_source_error: bool,
pub on_source_error: BlockdevOnError,
pub has_on_target_error: bool,
pub on_target_error: BlockdevOnError,
}Fields§
§has_job_id: bool§job_id: *mut c_char§device: *mut c_char§target: *mut c_char§has_format: bool§format: *mut c_char§sync: MirrorSyncMode§has_mode: bool§mode: NewImageMode§has_speed: bool§speed: i64§has_bitmap: bool§bitmap: *mut c_char§has_compress: bool§compress: bool§has_on_source_error: bool§on_source_error: BlockdevOnError§has_on_target_error: bool§on_target_error: BlockdevOnErrorTrait Implementations§
Source§impl Clone for DriveBackup
impl Clone for DriveBackup
Source§fn clone(&self) -> DriveBackup
fn clone(&self) -> DriveBackup
Returns a duplicate 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 DriveBackup
impl Debug for DriveBackup
impl Copy for DriveBackup
Auto Trait Implementations§
impl Freeze for DriveBackup
impl RefUnwindSafe for DriveBackup
impl !Send for DriveBackup
impl !Sync for DriveBackup
impl Unpin for DriveBackup
impl UnwindSafe for DriveBackup
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