pub struct Fin {
pub complete: bool,
pub set: SetResult,
}
Expand description
Notes the end of a page in a query.
Fields§
§complete: bool
True when the end of a MAM query has been reached.
set: SetResult
Describes the current page, it should contain at least first (with an index) and last, and generally count.
Trait Implementations§
Source§impl AsXml for Fin
impl AsXml for Fin
Source§impl FromXml for Fin
impl FromXml for Fin
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 Fin
impl TryFrom<Element> for Fin
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl IqResultPayload for Fin
impl StructuralPartialEq for Fin
Auto Trait Implementations§
impl Freeze for Fin
impl RefUnwindSafe for Fin
impl Send for Fin
impl Sync for Fin
impl Unpin for Fin
impl UnwindSafe for Fin
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