pub struct MessageMetadata {
pub token_reference: String,
pub segment_id: String,
pub message_id: String,
pub timestamp: i64,
}Expand description
Describes a delivery, beside its payload (MSG-01).
Fields§
§token_reference: String§segment_id: String§message_id: StringAlways present: the publisher’s, or one that the server assigned (REV-01).
timestamp: i64Unix milliseconds.
Trait Implementations§
Source§impl Clone for MessageMetadata
impl Clone for MessageMetadata
Source§impl Debug for MessageMetadata
impl Debug for MessageMetadata
impl Eq for MessageMetadata
Source§impl PartialEq for MessageMetadata
impl PartialEq for MessageMetadata
impl StructuralPartialEq for MessageMetadata
Auto Trait Implementations§
impl Freeze for MessageMetadata
impl RefUnwindSafe for MessageMetadata
impl Send for MessageMetadata
impl Sync for MessageMetadata
impl Unpin for MessageMetadata
impl UnsafeUnpin for MessageMetadata
impl UnwindSafe for MessageMetadata
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