Struct xmpp_parsers::sm::Resumed
source · pub struct Resumed {
pub h: u32,
pub previd: StreamId,
}
Expand description
The response by the server for a successfully resumed stream.
Fields§
§h: u32
The last handled stanza.
previd: StreamId
The previous id given by the server on enabled.
Trait Implementations§
source§impl FromXml for Resumed
impl FromXml for Resumed
§type Builder = ResumedFromXmlBuilder
type Builder = ResumedFromXmlBuilder
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 PartialEq for Resumed
impl PartialEq for Resumed
impl StructuralPartialEq for Resumed
Auto Trait Implementations§
impl Freeze for Resumed
impl RefUnwindSafe for Resumed
impl Send for Resumed
impl Sync for Resumed
impl Unpin for Resumed
impl UnwindSafe for Resumed
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
)