pub enum StringDatatype {
String,
NormalizedString(NormalizedStringDatatype),
}
Expand description
str
datatype variants.
Variants§
String
NormalizedString(NormalizedStringDatatype)
Implementations§
Trait Implementations§
Source§impl Clone for StringDatatype
impl Clone for StringDatatype
Source§fn clone(&self) -> StringDatatype
fn clone(&self) -> StringDatatype
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 StringDatatype
impl Debug for StringDatatype
Source§impl From<NCNameDatatype> for StringDatatype
impl From<NCNameDatatype> for StringDatatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for StringDatatype
impl From<NameDatatype> for StringDatatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> 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<StringDatatype> for Datatype
impl From<StringDatatype> for Datatype
Source§fn from(value: StringDatatype) -> Self
fn from(value: StringDatatype) -> Self
Converts to this type from the input type.
Source§impl From<TokenDatatype> for StringDatatype
impl From<TokenDatatype> for StringDatatype
Source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for StringDatatype
impl Hash for StringDatatype
Source§impl Ord for StringDatatype
impl Ord for StringDatatype
Source§fn cmp(&self, other: &StringDatatype) -> Ordering
fn cmp(&self, other: &StringDatatype) -> 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 StringDatatype
impl PartialEq for StringDatatype
Source§impl PartialOrd for StringDatatype
impl PartialOrd for StringDatatype
Source§impl TryFrom<Datatype> for StringDatatype
impl TryFrom<Datatype> for StringDatatype
Source§impl TryFrom<StringDatatype> for NCNameDatatype
impl TryFrom<StringDatatype> for NCNameDatatype
Source§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.
Source§impl TryFrom<StringDatatype> for NameDatatype
impl TryFrom<StringDatatype> for NameDatatype
Source§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.
Source§impl TryFrom<StringDatatype> for NormalizedStringDatatype
impl TryFrom<StringDatatype> for NormalizedStringDatatype
Source§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.
Source§impl TryFrom<StringDatatype> for TokenDatatype
impl TryFrom<StringDatatype> for TokenDatatype
Source§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 StringDatatype
impl Eq for StringDatatype
impl StructuralPartialEq for StringDatatype
Auto Trait Implementations§
impl Freeze for StringDatatype
impl RefUnwindSafe for StringDatatype
impl Send for StringDatatype
impl Sync for StringDatatype
impl Unpin for StringDatatype
impl UnwindSafe for StringDatatype
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