Struct qapi_qmp::BlockdevCreateOptionsRbd
source · pub struct BlockdevCreateOptionsRbd {
pub cluster_size: Option<u64>,
pub encrypt: Option<RbdEncryptionCreateOptions>,
pub location: BlockdevOptionsRbd,
pub size: u64,
}
Fields§
§cluster_size: Option<u64>
§encrypt: Option<RbdEncryptionCreateOptions>
§location: BlockdevOptionsRbd
§size: u64
Trait Implementations§
source§impl Clone for BlockdevCreateOptionsRbd
impl Clone for BlockdevCreateOptionsRbd
source§fn clone(&self) -> BlockdevCreateOptionsRbd
fn clone(&self) -> BlockdevCreateOptionsRbd
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 BlockdevCreateOptionsRbd
impl Debug for BlockdevCreateOptionsRbd
source§impl<'de> Deserialize<'de> for BlockdevCreateOptionsRbd
impl<'de> Deserialize<'de> for BlockdevCreateOptionsRbd
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<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsRbd) -> Self
fn from(val: BlockdevCreateOptionsRbd) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevCreateOptionsRbd
impl Send for BlockdevCreateOptionsRbd
impl Sync for BlockdevCreateOptionsRbd
impl Unpin for BlockdevCreateOptionsRbd
impl UnwindSafe for BlockdevCreateOptionsRbd
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