Enum xsd_types::NormalizedStringValue
source · pub enum NormalizedStringValue {
NormalizedString(NormalizedString),
Token(TokenBuf),
Language(LanguageBuf),
Name(NameBuf),
NCName(NCNameBuf),
Id(IdBuf),
IdRef(IdRefBuf),
NMToken(NMTokenBuf),
}Expand description
Any specialized NormalizedStr value.
Variants§
NormalizedString(NormalizedString)
Token(TokenBuf)
Language(LanguageBuf)
Name(NameBuf)
NCName(NCNameBuf)
Id(IdBuf)
IdRef(IdRefBuf)
NMToken(NMTokenBuf)
Implementations§
source§impl NormalizedStringValue
impl NormalizedStringValue
pub fn datatype(&self) -> NormalizedStringDatatype
source§impl NormalizedStringValue
impl NormalizedStringValue
pub fn as_ref(&self) -> NormalizedStringValueRef<'_>
Trait Implementations§
source§impl Clone for NormalizedStringValue
impl Clone for NormalizedStringValue
source§fn clone(&self) -> NormalizedStringValue
fn clone(&self) -> NormalizedStringValue
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 NormalizedStringValue
impl Debug for NormalizedStringValue
source§impl Display for NormalizedStringValue
impl Display for NormalizedStringValue
source§impl From<NCNameValue> for NormalizedStringValue
impl From<NCNameValue> for NormalizedStringValue
source§fn from(value: NCNameValue) -> Self
fn from(value: NCNameValue) -> Self
Converts to this type from the input type.
source§impl From<NameValue> for NormalizedStringValue
impl From<NameValue> for NormalizedStringValue
source§impl From<NormalizedStringValue> for StringValue
impl From<NormalizedStringValue> for StringValue
source§fn from(value: NormalizedStringValue) -> Self
fn from(value: NormalizedStringValue) -> Self
Converts to this type from the input type.
source§impl From<NormalizedStringValue> for Value
impl From<NormalizedStringValue> for Value
source§fn from(value: NormalizedStringValue) -> Self
fn from(value: NormalizedStringValue) -> Self
Converts to this type from the input type.
source§impl From<TokenValue> for NormalizedStringValue
impl From<TokenValue> for NormalizedStringValue
source§fn from(value: TokenValue) -> Self
fn from(value: TokenValue) -> Self
Converts to this type from the input type.
source§impl TryFrom<NormalizedStringValue> for NCNameValue
impl TryFrom<NormalizedStringValue> for NCNameValue
§type Error = NormalizedStringValue
type Error = NormalizedStringValue
The type returned in the event of a conversion error.
source§fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
Performs the conversion.
source§impl TryFrom<NormalizedStringValue> for NameValue
impl TryFrom<NormalizedStringValue> for NameValue
§type Error = NormalizedStringValue
type Error = NormalizedStringValue
The type returned in the event of a conversion error.
source§fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
Performs the conversion.
source§impl TryFrom<NormalizedStringValue> for TokenValue
impl TryFrom<NormalizedStringValue> for TokenValue
§type Error = NormalizedStringValue
type Error = NormalizedStringValue
The type returned in the event of a conversion error.
source§fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
fn try_from(value: NormalizedStringValue) -> Result<Self, NormalizedStringValue>
Performs the conversion.
source§impl TryFrom<StringValue> for NormalizedStringValue
impl TryFrom<StringValue> for NormalizedStringValue
§type Error = StringValue
type Error = StringValue
The type returned in the event of a conversion error.
source§fn try_from(value: StringValue) -> Result<Self, StringValue>
fn try_from(value: StringValue) -> Result<Self, StringValue>
Performs the conversion.
source§impl TryFrom<Value> for NormalizedStringValue
impl TryFrom<Value> for NormalizedStringValue
Auto Trait Implementations§
impl RefUnwindSafe for NormalizedStringValue
impl Send for NormalizedStringValue
impl Sync for NormalizedStringValue
impl Unpin for NormalizedStringValue
impl UnwindSafe for NormalizedStringValue
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