pub struct DiskCreate { /* private fields */ }Implementations§
Source§impl DiskCreate
impl DiskCreate
pub fn description<T>(self, value: T) -> Self
pub fn disk_backend<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn size<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DiskCreate
impl Clone for DiskCreate
Source§fn clone(&self) -> DiskCreate
fn clone(&self) -> DiskCreate
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 DiskCreate
impl Debug for DiskCreate
Source§impl Default for DiskCreate
impl Default for DiskCreate
Source§impl From<DiskCreate> for DiskCreate
impl From<DiskCreate> for DiskCreate
Source§fn from(value: DiskCreate) -> Self
fn from(value: DiskCreate) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DiskCreate> for DiskCreate
impl TryFrom<DiskCreate> for DiskCreate
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DiskCreate) -> Result<Self, ConversionError>
fn try_from(value: DiskCreate) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DiskCreate
impl RefUnwindSafe for DiskCreate
impl Send for DiskCreate
impl Sync for DiskCreate
impl Unpin for DiskCreate
impl UnsafeUnpin for DiskCreate
impl UnwindSafe for DiskCreate
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