pub enum NormalizedStringDatatype {
NormalizedString,
Token(TokenDatatype),
}Expand description
NormalizedStr datatype variants.
Variants§
NormalizedString
Token(TokenDatatype)
Implementations§
Trait Implementations§
source§impl Clone for NormalizedStringDatatype
impl Clone for NormalizedStringDatatype
source§fn clone(&self) -> NormalizedStringDatatype
fn clone(&self) -> NormalizedStringDatatype
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 NormalizedStringDatatype
impl Debug for NormalizedStringDatatype
source§impl From<NCNameDatatype> for NormalizedStringDatatype
impl From<NCNameDatatype> for NormalizedStringDatatype
source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
source§impl From<NameDatatype> for NormalizedStringDatatype
impl From<NameDatatype> for NormalizedStringDatatype
source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
source§impl From<NormalizedStringDatatype> for Datatype
impl From<NormalizedStringDatatype> for Datatype
source§fn from(value: NormalizedStringDatatype) -> Self
fn from(value: NormalizedStringDatatype) -> Self
Converts to this type from the input type.
source§impl From<NormalizedStringDatatype> for StringDatatype
impl From<NormalizedStringDatatype> for StringDatatype
source§fn from(value: NormalizedStringDatatype) -> Self
fn from(value: NormalizedStringDatatype) -> Self
Converts to this type from the input type.
source§impl From<TokenDatatype> for NormalizedStringDatatype
impl From<TokenDatatype> for NormalizedStringDatatype
source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
source§impl Hash for NormalizedStringDatatype
impl Hash for NormalizedStringDatatype
source§impl Ord for NormalizedStringDatatype
impl Ord for NormalizedStringDatatype
source§fn cmp(&self, other: &NormalizedStringDatatype) -> Ordering
fn cmp(&self, other: &NormalizedStringDatatype) -> 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 NormalizedStringDatatype
impl PartialEq for NormalizedStringDatatype
source§fn eq(&self, other: &NormalizedStringDatatype) -> bool
fn eq(&self, other: &NormalizedStringDatatype) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NormalizedStringDatatype
impl PartialOrd for NormalizedStringDatatype
source§fn partial_cmp(&self, other: &NormalizedStringDatatype) -> Option<Ordering>
fn partial_cmp(&self, other: &NormalizedStringDatatype) -> 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 TryFrom<Datatype> for NormalizedStringDatatype
impl TryFrom<Datatype> for NormalizedStringDatatype
source§impl TryFrom<NormalizedStringDatatype> for NCNameDatatype
impl TryFrom<NormalizedStringDatatype> for NCNameDatatype
§type Error = NormalizedStringDatatype
type Error = NormalizedStringDatatype
The type returned in the event of a conversion error.
source§fn try_from(
value: NormalizedStringDatatype
) -> Result<Self, NormalizedStringDatatype>
fn try_from( value: NormalizedStringDatatype ) -> Result<Self, NormalizedStringDatatype>
Performs the conversion.
source§impl TryFrom<NormalizedStringDatatype> for NameDatatype
impl TryFrom<NormalizedStringDatatype> for NameDatatype
§type Error = NormalizedStringDatatype
type Error = NormalizedStringDatatype
The type returned in the event of a conversion error.
source§fn try_from(
value: NormalizedStringDatatype
) -> Result<Self, NormalizedStringDatatype>
fn try_from( value: NormalizedStringDatatype ) -> Result<Self, NormalizedStringDatatype>
Performs the conversion.
source§impl TryFrom<NormalizedStringDatatype> for TokenDatatype
impl TryFrom<NormalizedStringDatatype> for TokenDatatype
§type Error = NormalizedStringDatatype
type Error = NormalizedStringDatatype
The type returned in the event of a conversion error.
source§fn try_from(
value: NormalizedStringDatatype
) -> Result<Self, NormalizedStringDatatype>
fn try_from( value: NormalizedStringDatatype ) -> Result<Self, NormalizedStringDatatype>
Performs the conversion.
source§impl TryFrom<StringDatatype> for NormalizedStringDatatype
impl TryFrom<StringDatatype> for NormalizedStringDatatype
§type Error = StringDatatype
type Error = StringDatatype
The type returned in the event of a conversion error.
source§fn try_from(value: StringDatatype) -> Result<Self, StringDatatype>
fn try_from(value: StringDatatype) -> Result<Self, StringDatatype>
Performs the conversion.
impl Copy for NormalizedStringDatatype
impl Eq for NormalizedStringDatatype
impl StructuralPartialEq for NormalizedStringDatatype
Auto Trait Implementations§
impl Freeze for NormalizedStringDatatype
impl RefUnwindSafe for NormalizedStringDatatype
impl Send for NormalizedStringDatatype
impl Sync for NormalizedStringDatatype
impl Unpin for NormalizedStringDatatype
impl UnwindSafe for NormalizedStringDatatype
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