pub struct FieldMetadata {
pub name: String,
pub ty: Type,
pub default: Option<LiteralMetadata>,
}
Fields§
§name: String
§ty: Type
§default: Option<LiteralMetadata>
Trait Implementations§
Source§impl Clone for FieldMetadata
impl Clone for FieldMetadata
Source§fn clone(&self) -> FieldMetadata
fn clone(&self) -> FieldMetadata
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 FieldMetadata
impl Debug for FieldMetadata
Source§impl Ord for FieldMetadata
impl Ord for FieldMetadata
Source§fn cmp(&self, other: &FieldMetadata) -> Ordering
fn cmp(&self, other: &FieldMetadata) -> 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 FieldMetadata
impl PartialEq for FieldMetadata
Source§impl PartialOrd for FieldMetadata
impl PartialOrd for FieldMetadata
impl Eq for FieldMetadata
impl StructuralPartialEq for FieldMetadata
Auto Trait Implementations§
impl Freeze for FieldMetadata
impl RefUnwindSafe for FieldMetadata
impl Send for FieldMetadata
impl Sync for FieldMetadata
impl Unpin for FieldMetadata
impl UnwindSafe for FieldMetadata
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