Struct xmpp_parsers::pubsub::pubsub::Create
source · pub struct Create {
pub node: Option<NodeName>,
}
Expand description
Request to create a new node.
Fields§
§node: Option<NodeName>
The node name to create, if None
the service will generate one.
Trait Implementations§
source§impl FromXml for Create
impl FromXml for Create
§type Builder = FromEventsViaElement<Create>
type Builder = FromEventsViaElement<Create>
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 IntoXml for Create
impl IntoXml for Create
§type EventIter = IntoEventsViaElement
type EventIter = IntoEventsViaElement
The iterator type. Read more
source§fn into_event_iter(self) -> Result<Self::EventIter, Error>
fn into_event_iter(self) -> Result<Self::EventIter, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable
rxml::Event
items.source§impl PartialEq for Create
impl PartialEq for Create
impl StructuralPartialEq for Create
Auto Trait Implementations§
impl Freeze for Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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