Struct ason::VariantItem
source · pub struct VariantItem {
pub name: String,
pub value: Option<Box<AsonNode>>,
}Fields§
§name: String§value: Option<Box<AsonNode>>Trait Implementations§
source§impl Debug for VariantItem
impl Debug for VariantItem
source§impl PartialEq for VariantItem
impl PartialEq for VariantItem
source§fn eq(&self, other: &VariantItem) -> bool
fn eq(&self, other: &VariantItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VariantItem
Auto Trait Implementations§
impl Freeze for VariantItem
impl RefUnwindSafe for VariantItem
impl Send for VariantItem
impl Sync for VariantItem
impl Unpin for VariantItem
impl UnwindSafe for VariantItem
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