pub struct VariantMetadata {
pub name: String,
pub fields: Vec<FieldMetadata>,
}
Fields§
§name: String
§fields: Vec<FieldMetadata>
Trait Implementations§
Source§impl Clone for VariantMetadata
impl Clone for VariantMetadata
Source§fn clone(&self) -> VariantMetadata
fn clone(&self) -> VariantMetadata
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 VariantMetadata
impl Debug for VariantMetadata
Source§impl Ord for VariantMetadata
impl Ord for VariantMetadata
Source§fn cmp(&self, other: &VariantMetadata) -> Ordering
fn cmp(&self, other: &VariantMetadata) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VariantMetadata
impl PartialEq for VariantMetadata
Source§impl PartialOrd for VariantMetadata
impl PartialOrd for VariantMetadata
impl Eq for VariantMetadata
impl StructuralPartialEq for VariantMetadata
Auto Trait Implementations§
impl Freeze for VariantMetadata
impl RefUnwindSafe for VariantMetadata
impl Send for VariantMetadata
impl Sync for VariantMetadata
impl Unpin for VariantMetadata
impl UnwindSafe for VariantMetadata
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