Struct xmpp_parsers::pubsub::pubsub::Publish
source · pub struct Publish {
pub node: NodeName,
pub items: Vec<Item>,
}
Expand description
Request to publish items to a node.
Fields§
§node: NodeName
The target node for this operation.
items: Vec<Item>
The items you want to publish.
Trait Implementations§
source§impl FromXml for Publish
impl FromXml for Publish
§type Builder = FromEventsViaElement<Publish>
type Builder = FromEventsViaElement<Publish>
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 Publish
impl PartialEq for Publish
source§impl TryFrom<Element> for Publish
impl TryFrom<Element> for Publish
§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Publish
Auto Trait Implementations§
impl Freeze for Publish
impl RefUnwindSafe for Publish
impl Send for Publish
impl Sync for Publish
impl Unpin for Publish
impl UnwindSafe for Publish
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
)