pub struct SetResult {
pub first: Option<First>,
pub last: Option<String>,
pub count: Option<usize>,
}
Expand description
Describes the paging result of a query.
Fields§
§first: Option<First>
The first item of the page.
last: Option<String>
The UID of the last item of the page.
count: Option<usize>
How many items there are in the full set (which may be approximate).
Trait Implementations§
Source§impl AsXml for SetResult
impl AsXml for SetResult
Source§impl FromXml for SetResult
impl FromXml for SetResult
Source§type Builder = SetResultFromXmlBuilder
type Builder = SetResultFromXmlBuilder
A builder type used to construct the element. Read more
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 SetResult
impl TryFrom<Element> for SetResult
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SetResult
Auto Trait Implementations§
impl Freeze for SetResult
impl RefUnwindSafe for SetResult
impl Send for SetResult
impl Sync for SetResult
impl Unpin for SetResult
impl UnwindSafe for SetResult
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