pub struct Result_ {
pub id: String,
pub queryid: Option<QueryId>,
pub forwarded: Forwarded,
}
Expand description
The wrapper around forwarded stanzas.
Fields§
§id: String
The stanza-id under which the archive stored this stanza.
queryid: Option<QueryId>
The same queryid as the one requested in the query.
forwarded: Forwarded
The actual stanza being forwarded.
Trait Implementations§
Source§impl AsXml for Result_
impl AsXml for Result_
Source§impl FromXml for Result_
impl FromXml for Result_
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 Result_
impl TryFrom<Element> for Result_
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for Result_
impl StructuralPartialEq for Result_
Auto Trait Implementations§
impl Freeze for Result_
impl RefUnwindSafe for Result_
impl Send for Result_
impl Sync for Result_
impl Unpin for Result_
impl UnwindSafe for Result_
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