Struct xmpp_parsers::pubsub::owner::Configure
source · pub struct Configure {
pub node: Option<NodeName>,
pub form: Option<DataForm>,
}
Expand description
Request to configure a node.
Fields§
§node: Option<NodeName>
The node to be configured.
form: Option<DataForm>
The form to configure it.
Trait Implementations§
source§impl FromXml for Configure
impl FromXml for Configure
§type Builder = FromEventsViaElement<Configure>
type Builder = FromEventsViaElement<Configure>
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 Configure
impl PartialEq for Configure
source§impl TryFrom<Element> for Configure
impl TryFrom<Element> for Configure
§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Configure
Auto Trait Implementations§
impl Freeze for Configure
impl RefUnwindSafe for Configure
impl Send for Configure
impl Sync for Configure
impl Unpin for Configure
impl UnwindSafe for Configure
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
)