Struct xmpp_parsers::pubsub::owner::Default
source · pub struct Default {
pub form: Option<DataForm>,
}
Expand description
Request to change default configuration.
Fields§
§form: Option<DataForm>
The form to configure it.
Trait Implementations§
source§impl FromXml for Default
impl FromXml for Default
§type Builder = FromEventsViaElement<Default>
type Builder = FromEventsViaElement<Default>
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 Default
impl IntoXml for Default
§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 Default
impl PartialEq for Default
impl StructuralPartialEq for Default
Auto Trait Implementations§
impl Freeze for Default
impl RefUnwindSafe for Default
impl Send for Default
impl Sync for Default
impl Unpin for Default
impl UnwindSafe for Default
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