Enum qapi_qmp::BlockdevRefOrNull
source · pub enum BlockdevRefOrNull {
null(()),
definition(Box<BlockdevOptions>),
reference(String),
}
Variants§
Trait Implementations§
source§impl Clone for BlockdevRefOrNull
impl Clone for BlockdevRefOrNull
source§fn clone(&self) -> BlockdevRefOrNull
fn clone(&self) -> BlockdevRefOrNull
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 BlockdevRefOrNull
impl Debug for BlockdevRefOrNull
source§impl<'de> Deserialize<'de> for BlockdevRefOrNull
impl<'de> Deserialize<'de> for BlockdevRefOrNull
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