Struct xmpp_parsers::message::Body
source · pub struct Body(pub String);
Expand description
Represents one <body/>
element, that is the free form text content of
a message.
Tuple Fields§
§0: String
Trait Implementations§
source§impl AsXml for Body
impl AsXml for Body
§type ItemIter<'xso_proc_as_xml_iter_lifetime> = BodyAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
type ItemIter<'xso_proc_as_xml_iter_lifetime> = BodyAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
The iterator type. Read more
source§fn as_xml_iter(&self) -> Result<Self::ItemIter<'_>, Error>
fn as_xml_iter(&self) -> Result<Self::ItemIter<'_>, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable [
Item
] items.impl Eq for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)