Struct xmpp_parsers::pubsub::pubsub::Items
source · pub struct Items {
pub max_items: Option<u32>,
pub node: NodeName,
pub subid: Option<SubscriptionId>,
pub items: Vec<Item>,
}
Expand description
A request for a list of items.
Fields§
§max_items: Option<u32>
Maximum number of items returned.
node: NodeName
The node queried by this request.
subid: Option<SubscriptionId>
The subscription identifier related to this request.
items: Vec<Item>
The actual list of items returned.
Implementations§
Trait Implementations§
source§impl FromXml for Items
impl FromXml for Items
§type Builder = FromEventsViaElement<Items>
type Builder = FromEventsViaElement<Items>
A builder type used to construct the element. Read more
source§fn from_events(
qname: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( qname: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl PartialEq for Items
impl PartialEq for Items
source§impl TryFrom<Element> for Items
impl TryFrom<Element> for Items
§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Items
Auto Trait Implementations§
impl Freeze for Items
impl RefUnwindSafe for Items
impl Send for Items
impl Sync for Items
impl Unpin for Items
impl UnwindSafe for Items
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
)