pub struct Nick(pub String);
Expand description
Represents a global, memorable, friendly or informal name chosen by a user.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl AsXml for Nick
impl AsXml for Nick
Source§impl FromXml for Nick
impl FromXml for Nick
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for Nick
impl TryFrom<Element> for Nick
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl Eq for Nick
impl StructuralPartialEq for Nick
Auto Trait Implementations§
impl Freeze for Nick
impl RefUnwindSafe for Nick
impl Send for Nick
impl Sync for Nick
impl Unpin for Nick
impl UnwindSafe for Nick
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