pub struct XsdString(/* private fields */);Expand description
A string type that conforms to the xsd:string specification.
TODO: Escape < and & when converting
The type xsd:string represents a character string that may contain any Unicode character allowed by XML. Certain characters, namely the “less than” symbol (<) and the ampersand (&), must be escaped (using the entities < and &, respectively) when used in strings in XML instances.
The xsd:string type has a whiteSpace facet of preserve, which means that all whitespace characters (spaces, tabs, carriage returns, and line feeds) are preserved by the processor. This is in contrast to two types derived from it: normalizedString, and token.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XsdString
impl<'de> Deserialize<'de> for XsdString
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 From<XsdString> for ActorAndOriginPropertiesActorTermEnum
impl From<XsdString> for ActorAndOriginPropertiesActorTermEnum
Source§fn from(item: XsdString) -> ActorAndOriginPropertiesActorTermEnum
fn from(item: XsdString) -> ActorAndOriginPropertiesActorTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for CollectionPropertiesItemsTermEnum
impl From<XsdString> for CollectionPropertiesItemsTermEnum
Source§fn from(item: XsdString) -> CollectionPropertiesItemsTermEnum
fn from(item: XsdString) -> CollectionPropertiesItemsTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for LinkPropertiesNameTermEnum
impl From<XsdString> for LinkPropertiesNameTermEnum
Source§fn from(item: XsdString) -> LinkPropertiesNameTermEnum
fn from(item: XsdString) -> LinkPropertiesNameTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for LinkPropertiesRelEnum
impl From<XsdString> for LinkPropertiesRelEnum
Source§impl From<XsdString> for ObjectPropertiesContentTermEnum
impl From<XsdString> for ObjectPropertiesContentTermEnum
Source§fn from(item: XsdString) -> ObjectPropertiesContentTermEnum
fn from(item: XsdString) -> ObjectPropertiesContentTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for ObjectPropertiesNameTermEnum
impl From<XsdString> for ObjectPropertiesNameTermEnum
Source§fn from(item: XsdString) -> ObjectPropertiesNameTermEnum
fn from(item: XsdString) -> ObjectPropertiesNameTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for ObjectPropertiesSummaryTermEnum
impl From<XsdString> for ObjectPropertiesSummaryTermEnum
Source§fn from(item: XsdString) -> ObjectPropertiesSummaryTermEnum
fn from(item: XsdString) -> ObjectPropertiesSummaryTermEnum
Converts to this type from the input type.
Source§impl From<XsdString> for TombstonePropertiesFormerTypeTermEnum
impl From<XsdString> for TombstonePropertiesFormerTypeTermEnum
Source§fn from(item: XsdString) -> TombstonePropertiesFormerTypeTermEnum
fn from(item: XsdString) -> TombstonePropertiesFormerTypeTermEnum
Converts to this type from the input type.
Source§impl Ord for XsdString
impl Ord for XsdString
Source§impl PartialOrd for XsdString
impl PartialOrd for XsdString
impl Eq for XsdString
impl StructuralPartialEq for XsdString
Auto Trait Implementations§
impl Freeze for XsdString
impl RefUnwindSafe for XsdString
impl Send for XsdString
impl Sync for XsdString
impl Unpin for XsdString
impl UnsafeUnpin for XsdString
impl UnwindSafe for XsdString
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