pub struct Delay {
pub from: Option<Jid>,
pub stamp: DateTime,
pub data: Option<String>,
}
Expand description
Notes when and by whom a message got stored for later delivery.
Fields§
§from: Option<Jid>
The entity which delayed this message.
stamp: DateTime
The time at which this message got stored.
data: Option<String>
The optional reason this message got delayed.
Trait Implementations§
Source§impl TryFrom<Element> for Delay
impl TryFrom<Element> for Delay
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for Delay
impl PresencePayload for Delay
impl StructuralPartialEq for Delay
Auto Trait Implementations§
impl Freeze for Delay
impl RefUnwindSafe for Delay
impl Send for Delay
impl Sync for Delay
impl Unpin for Delay
impl UnwindSafe for Delay
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