Struct qapi_qmp::BlockdevOptionsPreallocate
source · [−]pub struct BlockdevOptionsPreallocate {
pub base: BlockdevOptionsGenericFormat,
pub prealloc_align: Option<i64>,
pub prealloc_size: Option<i64>,
}Fields
base: BlockdevOptionsGenericFormatprealloc_align: Option<i64>prealloc_size: Option<i64>Trait Implementations
sourceimpl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsPreallocate
impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsPreallocate
sourcefn as_ref(&self) -> &BlockdevOptionsGenericFormat
fn as_ref(&self) -> &BlockdevOptionsGenericFormat
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for BlockdevOptionsPreallocate
impl Clone for BlockdevOptionsPreallocate
sourcefn clone(&self) -> BlockdevOptionsPreallocate
fn clone(&self) -> BlockdevOptionsPreallocate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BlockdevOptionsPreallocate
impl Debug for BlockdevOptionsPreallocate
sourceimpl<'de> Deserialize<'de> for BlockdevOptionsPreallocate
impl<'de> Deserialize<'de> for BlockdevOptionsPreallocate
sourcefn 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
sourceimpl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsPreallocate
impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsPreallocate
Auto Trait Implementations
impl RefUnwindSafe for BlockdevOptionsPreallocate
impl Send for BlockdevOptionsPreallocate
impl Sync for BlockdevOptionsPreallocate
impl Unpin for BlockdevOptionsPreallocate
impl UnwindSafe for BlockdevOptionsPreallocate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more