Enum qapi_parser::spec::SpecName
source · [−]pub enum SpecName {
Name(String),
Conditional {
name: String,
conditional: Conditional,
},
Explicit {
name: String,
},
}
Variants
Name(String)
Conditional
Explicit
Fields
name: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SpecName
impl<'de> Deserialize<'de> for SpecName
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
Auto Trait Implementations
impl RefUnwindSafe for SpecName
impl Send for SpecName
impl Sync for SpecName
impl Unpin for SpecName
impl UnwindSafe for SpecName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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