Struct qapi_qmp::BlockdevCreateOptionsSheepdog
source · pub struct BlockdevCreateOptionsSheepdog {
pub backing_file: Option<String>,
pub object_size: Option<usize>,
pub preallocation: Option<PreallocMode>,
pub location: BlockdevOptionsSheepdog,
pub size: usize,
pub redundancy: Option<SheepdogRedundancy>,
}
Fields§
§backing_file: Option<String>
§object_size: Option<usize>
§preallocation: Option<PreallocMode>
§location: BlockdevOptionsSheepdog
§size: usize
§redundancy: Option<SheepdogRedundancy>
Trait Implementations§
source§impl Clone for BlockdevCreateOptionsSheepdog
impl Clone for BlockdevCreateOptionsSheepdog
source§fn clone(&self) -> BlockdevCreateOptionsSheepdog
fn clone(&self) -> BlockdevCreateOptionsSheepdog
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<'de> Deserialize<'de> for BlockdevCreateOptionsSheepdog
impl<'de> Deserialize<'de> for BlockdevCreateOptionsSheepdog
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