Struct xmpp_parsers::avatar::Metadata
source · pub struct Metadata {
pub infos: Vec<Info>,
}
Expand description
Communicates information about an avatar.
Fields§
§infos: Vec<Info>
List of information elements describing this avatar.
Trait Implementations§
source§impl FromXml for Metadata
impl FromXml for Metadata
§type Builder = FromEventsViaElement<Metadata>
type Builder = FromEventsViaElement<Metadata>
A builder type used to construct the element. Read more
source§fn from_events(
qname: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( qname: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl IntoXml for Metadata
impl IntoXml for Metadata
§type EventIter = IntoEventsViaElement
type EventIter = IntoEventsViaElement
The iterator type.
source§fn into_event_iter(self) -> Result<Self::EventIter, Error>
fn into_event_iter(self) -> Result<Self::EventIter, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable
rxml::Event
items.source§impl PartialEq for Metadata
impl PartialEq for Metadata
impl PubSubPayload for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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