Struct serde_schema::types::StructField
source · pub struct StructField<T: TypeId> { /* private fields */ }
Implementations§
source§impl<T: TypeId> StructField<T>
impl<T: TypeId> StructField<T>
Trait Implementations§
source§impl<T: Clone + TypeId> Clone for StructField<T>
impl<T: Clone + TypeId> Clone for StructField<T>
source§fn clone(&self) -> StructField<T>
fn clone(&self) -> StructField<T>
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<T: Ord + TypeId> Ord for StructField<T>
impl<T: Ord + TypeId> Ord for StructField<T>
source§fn cmp(&self, other: &StructField<T>) -> Ordering
fn cmp(&self, other: &StructField<T>) -> 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<T: PartialEq + TypeId> PartialEq<StructField<T>> for StructField<T>
impl<T: PartialEq + TypeId> PartialEq<StructField<T>> for StructField<T>
source§fn eq(&self, other: &StructField<T>) -> bool
fn eq(&self, other: &StructField<T>) -> bool
source§impl<T: PartialOrd + TypeId> PartialOrd<StructField<T>> for StructField<T>
impl<T: PartialOrd + TypeId> PartialOrd<StructField<T>> for StructField<T>
source§fn partial_cmp(&self, other: &StructField<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &StructField<T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more