Struct xmpp_parsers::ping::Ping
source · pub struct Ping;
Expand description
Represents a ping to the recipient, which must be answered with an
empty <iq/>
or with an error.
Trait Implementations§
source§impl FromXml for Ping
impl FromXml for Ping
§type Builder = PingFromEvents
type Builder = PingFromEvents
A builder type used to construct the element. Read more
source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl IntoXml for Ping
impl IntoXml for Ping
§type EventIter = PingIntoEvents
type EventIter = PingIntoEvents
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 Ping
impl PartialEq for Ping
impl IqGetPayload for Ping
impl StructuralPartialEq for Ping
Auto Trait Implementations§
impl Freeze for Ping
impl RefUnwindSafe for Ping
impl Send for Ping
impl Sync for Ping
impl Unpin for Ping
impl UnwindSafe for Ping
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