pub struct StanzaId {
pub id: String,
pub by: Jid,
}
Expand description
Gives the identifier a service has stamped on this stanza, often in order to identify it inside of an archive.
Fields§
§id: String
The id associated to this stanza by another entity.
by: Jid
The entity who stamped this stanza-id.
Trait Implementations§
Source§impl TryFrom<Element> for StanzaId
impl TryFrom<Element> for StanzaId
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for StanzaId
impl StructuralPartialEq for StanzaId
Auto Trait Implementations§
impl Freeze for StanzaId
impl RefUnwindSafe for StanzaId
impl Send for StanzaId
impl Sync for StanzaId
impl Unpin for StanzaId
impl UnwindSafe for StanzaId
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