Struct bonsaidb_core::schema::SchemaName
source · pub struct SchemaName(_);
Expand description
The name of a Schema
.
Trait Implementations§
source§impl Clone for SchemaName
impl Clone for SchemaName
source§fn clone(&self) -> SchemaName
fn clone(&self) -> SchemaName
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 SchemaName
impl Debug for SchemaName
source§impl Deref for SchemaName
impl Deref for SchemaName
source§impl<'de> Deserialize<'de> for SchemaName
impl<'de> Deserialize<'de> for SchemaName
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SchemaName
impl Display for SchemaName
source§impl Hash for SchemaName
impl Hash for SchemaName
source§impl Ord for SchemaName
impl Ord for SchemaName
source§fn cmp(&self, other: &SchemaName) -> Ordering
fn cmp(&self, other: &SchemaName) -> 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<SchemaName> for SchemaName
impl PartialEq<SchemaName> for SchemaName
source§fn eq(&self, other: &SchemaName) -> bool
fn eq(&self, other: &SchemaName) -> bool
source§impl PartialOrd<SchemaName> for SchemaName
impl PartialOrd<SchemaName> for SchemaName
source§fn partial_cmp(&self, other: &SchemaName) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaName) -> 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 moresource§impl Qualified for SchemaName
impl Qualified for SchemaName
source§fn new<A: Into<Authority>, N: Into<Name>>(authority: A, name: N) -> Self
fn new<A: Into<Authority>, N: Into<Name>>(authority: A, name: N) -> Self
Creates a new qualified name.
source§fn private<N: Into<Name>>(name: N) -> Self
fn private<N: Into<Name>>(name: N) -> Self
Creates a name that is not meant to be shared with other developers or
projects. Read more
source§fn parse_encoded(schema_name: &str) -> Result<Self, InvalidNameError>
fn parse_encoded(schema_name: &str) -> Result<Self, InvalidNameError>
Parses a schema name that was previously encoded via
Self::encoded()
. Read more