pub struct BlockdevOptionsPreallocate {
pub base: BlockdevOptionsGenericFormat,
pub prealloc_align: Option<i64>,
pub prealloc_size: Option<i64>,
}
Fields§
§base: BlockdevOptionsGenericFormat
§prealloc_align: Option<i64>
§prealloc_size: Option<i64>
Trait Implementations§
Source§impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsPreallocate
impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsPreallocate
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 BlockdevOptionsPreallocate
impl Clone for BlockdevOptionsPreallocate
Source§fn clone(&self) -> BlockdevOptionsPreallocate
fn clone(&self) -> BlockdevOptionsPreallocate
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 BlockdevOptionsPreallocate
impl Debug for BlockdevOptionsPreallocate
Source§impl<'de> Deserialize<'de> for BlockdevOptionsPreallocate
impl<'de> Deserialize<'de> for BlockdevOptionsPreallocate
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 BlockdevOptionsPreallocate
impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsPreallocate
Auto Trait Implementations§
impl Freeze for BlockdevOptionsPreallocate
impl RefUnwindSafe for BlockdevOptionsPreallocate
impl Send for BlockdevOptionsPreallocate
impl Sync for BlockdevOptionsPreallocate
impl Unpin for BlockdevOptionsPreallocate
impl UnwindSafe for BlockdevOptionsPreallocate
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