pub struct BlockdevOptionsRaw {
pub base: BlockdevOptionsGenericFormat,
pub offset: Option<i64>,
pub size: Option<i64>,
}
Fields§
§base: BlockdevOptionsGenericFormat
§offset: Option<i64>
§size: Option<i64>
Trait Implementations§
Source§impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsRaw
impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsRaw
Source§fn as_ref(&self) -> &BlockdevOptionsGenericFormat
fn as_ref(&self) -> &BlockdevOptionsGenericFormat
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BlockdevOptionsRaw
impl Clone for BlockdevOptionsRaw
Source§fn clone(&self) -> BlockdevOptionsRaw
fn clone(&self) -> BlockdevOptionsRaw
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 BlockdevOptionsRaw
impl Debug for BlockdevOptionsRaw
Source§impl<'de> Deserialize<'de> for BlockdevOptionsRaw
impl<'de> Deserialize<'de> for BlockdevOptionsRaw
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<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsRaw
impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsRaw
Auto Trait Implementations§
impl Freeze for BlockdevOptionsRaw
impl RefUnwindSafe for BlockdevOptionsRaw
impl Send for BlockdevOptionsRaw
impl Sync for BlockdevOptionsRaw
impl Unpin for BlockdevOptionsRaw
impl UnwindSafe for BlockdevOptionsRaw
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