pub struct BlockdevCreateOptionsFile {
pub extent_size_hint: Option<u64>,
pub nocow: Option<bool>,
pub preallocation: Option<PreallocMode>,
pub filename: String,
pub size: u64,
}
Fields§
§extent_size_hint: Option<u64>
§nocow: Option<bool>
§preallocation: Option<PreallocMode>
§filename: String
§size: u64
Trait Implementations§
Source§impl Clone for BlockdevCreateOptionsFile
impl Clone for BlockdevCreateOptionsFile
Source§fn clone(&self) -> BlockdevCreateOptionsFile
fn clone(&self) -> BlockdevCreateOptionsFile
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 BlockdevCreateOptionsFile
impl Debug for BlockdevCreateOptionsFile
Source§impl<'de> Deserialize<'de> for BlockdevCreateOptionsFile
impl<'de> Deserialize<'de> for BlockdevCreateOptionsFile
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<BlockdevCreateOptionsFile> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsFile> for BlockdevCreateOptions
Source§fn from(val: BlockdevCreateOptionsFile) -> Self
fn from(val: BlockdevCreateOptionsFile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockdevCreateOptionsFile
impl RefUnwindSafe for BlockdevCreateOptionsFile
impl Send for BlockdevCreateOptionsFile
impl Sync for BlockdevCreateOptionsFile
impl Unpin for BlockdevCreateOptionsFile
impl UnwindSafe for BlockdevCreateOptionsFile
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