pub struct SchemaInfo {
pub id: SchemaId,
pub name: TypeName,
}Fields§
§id: SchemaId§name: TypeNameImplementations§
Source§impl SchemaInfo
impl SchemaInfo
pub fn with(schema: &Schema) -> SchemaInfo
Trait Implementations§
Source§impl Clone for SchemaInfo
impl Clone for SchemaInfo
Source§fn clone(&self) -> SchemaInfo
fn clone(&self) -> SchemaInfo
Returns a duplicate 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 SchemaInfo
impl Debug for SchemaInfo
Source§impl<'de> Deserialize<'de> for SchemaInfo
impl<'de> Deserialize<'de> for SchemaInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchemaInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchemaInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SchemaInfo
impl Display for SchemaInfo
Source§impl Ord for SchemaInfo
impl Ord for SchemaInfo
Source§fn cmp(&self, other: &SchemaInfo) -> Ordering
fn cmp(&self, other: &SchemaInfo) -> 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 SchemaInfo
impl PartialEq for SchemaInfo
Source§impl PartialOrd for SchemaInfo
impl PartialOrd for SchemaInfo
Source§impl Serialize for SchemaInfo
impl Serialize for SchemaInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SchemaInfo
impl StructuralPartialEq for SchemaInfo
Auto Trait Implementations§
impl Freeze for SchemaInfo
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnwindSafe for SchemaInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.