Struct panda_sys::BlockdevBackup
source · #[repr(C)]pub struct BlockdevBackup {Show 13 fields
pub has_job_id: bool,
pub job_id: *mut c_char,
pub device: *mut c_char,
pub target: *mut c_char,
pub sync: MirrorSyncMode,
pub has_speed: bool,
pub speed: i64,
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
§sync: MirrorSyncMode
§has_speed: bool
§speed: i64
§has_compress: bool
§compress: bool
§has_on_source_error: bool
§on_source_error: BlockdevOnError
§has_on_target_error: bool
§on_target_error: BlockdevOnError
Trait Implementations§
source§impl Clone for BlockdevBackup
impl Clone for BlockdevBackup
source§fn clone(&self) -> BlockdevBackup
fn clone(&self) -> BlockdevBackup
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 BlockdevBackup
impl Debug for BlockdevBackup
impl Copy for BlockdevBackup
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevBackup
impl !Send for BlockdevBackup
impl !Sync for BlockdevBackup
impl Unpin for BlockdevBackup
impl UnwindSafe for BlockdevBackup
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