pub enum SchemaFields {
Named(Vec<(String, SchemaTyp)>),
Unnamed(Vec<SchemaTyp>),
}Variants§
Trait Implementations§
Source§impl Clone for SchemaFields
impl Clone for SchemaFields
Source§fn clone(&self) -> SchemaFields
fn clone(&self) -> SchemaFields
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaFields
impl Debug for SchemaFields
impl Eq for SchemaFields
Source§impl PartialEq for SchemaFields
impl PartialEq for SchemaFields
Source§fn eq(&self, other: &SchemaFields) -> bool
fn eq(&self, other: &SchemaFields) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaFields
Auto Trait Implementations§
impl Freeze for SchemaFields
impl RefUnwindSafe for SchemaFields
impl Send for SchemaFields
impl Sync for SchemaFields
impl Unpin for SchemaFields
impl UnsafeUnpin for SchemaFields
impl UnwindSafe for SchemaFields
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