pub struct Oob {
pub url: String,
pub desc: Option<String>,
}
Expand description
Defines associated out of band url.
Fields§
§url: String
The associated URL.
desc: Option<String>
An optional description of the out of band data.
Trait Implementations§
Source§impl AsXml for Oob
impl AsXml for Oob
Source§impl FromXml for Oob
impl FromXml for Oob
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 Oob
impl TryFrom<Element> for Oob
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for Oob
impl StructuralPartialEq for Oob
Auto Trait Implementations§
impl Freeze for Oob
impl RefUnwindSafe for Oob
impl Send for Oob
impl Sync for Oob
impl Unpin for Oob
impl UnwindSafe for Oob
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