pub struct ExtendedVariantDef {
pub name: String,
pub payload: Option<Payload>,
pub enabled: bool,
pub feature_enabled: bool,
}
Fields§
§name: String
§payload: Option<Payload>
§enabled: bool
§feature_enabled: bool
Trait Implementations§
Source§impl Clone for ExtendedVariantDef
impl Clone for ExtendedVariantDef
Source§fn clone(&self) -> ExtendedVariantDef
fn clone(&self) -> ExtendedVariantDef
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 ExtendedVariantDef
impl Debug for ExtendedVariantDef
Source§impl<'de> Deserialize<'de> for ExtendedVariantDef
impl<'de> Deserialize<'de> for ExtendedVariantDef
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 PartialEq for ExtendedVariantDef
impl PartialEq for ExtendedVariantDef
Source§impl Serialize for ExtendedVariantDef
impl Serialize for ExtendedVariantDef
impl Eq for ExtendedVariantDef
impl StructuralPartialEq for ExtendedVariantDef
Auto Trait Implementations§
impl Freeze for ExtendedVariantDef
impl RefUnwindSafe for ExtendedVariantDef
impl Send for ExtendedVariantDef
impl Sync for ExtendedVariantDef
impl Unpin for ExtendedVariantDef
impl UnwindSafe for ExtendedVariantDef
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