pub struct SchemaName(/* private fields */);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 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 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 From<CollectionName> for SchemaName
impl From<CollectionName> for SchemaName
Source§fn from(name: CollectionName) -> Self
fn from(name: CollectionName) -> Self
Converts to this type from the input type.
Source§impl FromStr for SchemaName
impl FromStr 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 for SchemaName
impl PartialEq for SchemaName
Source§impl PartialOrd for SchemaName
impl PartialOrd for SchemaName
Source§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.
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 moreSource§fn encoded(&self) -> String
fn encoded(&self) -> String
Encodes this schema name such that the authority and name can be
safely parsed using
Self::parse_encoded.Source§impl Serialize for SchemaName
impl Serialize for SchemaName
impl Eq for SchemaName
impl StructuralPartialEq for SchemaName
Auto Trait Implementations§
impl Freeze for SchemaName
impl RefUnwindSafe for SchemaName
impl Send for SchemaName
impl Sync for SchemaName
impl Unpin for SchemaName
impl UnwindSafe for SchemaName
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more