Struct xmpp_parsers::pubsub::owner::Redirect
source · pub struct Redirect {
pub uri: String,
}
Expand description
A redirect element.
Fields§
§uri: String
The node this node will be redirected to.
Trait Implementations§
source§impl FromXml for Redirect
impl FromXml for Redirect
§type Builder = FromEventsViaElement<Redirect>
type Builder = FromEventsViaElement<Redirect>
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 Redirect
impl IntoXml for Redirect
§type EventIter = IntoEventsViaElement
type EventIter = IntoEventsViaElement
The iterator type.
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 Redirect
impl PartialEq for Redirect
impl StructuralPartialEq for Redirect
Auto Trait Implementations§
impl Freeze for Redirect
impl RefUnwindSafe for Redirect
impl Send for Redirect
impl Sync for Redirect
impl Unpin for Redirect
impl UnwindSafe for Redirect
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