pub struct Message {Show 13 fields
pub id: String,
pub crn: String,
pub queue_id: String,
pub body: Option<String>,
pub attributes: Option<MessageAttributes>,
pub visibility: MessageVisibility,
pub receive_count: i64,
pub body_bytes: Option<i64>,
pub message_group_id: Option<String>,
pub enqueued_at: String,
pub visible_at: String,
pub expires_at: String,
pub first_received_at: Option<Nullable<String>>,
}Fields§
§id: String§crn: String§queue_id: String§body: Option<String>Absent when the body could not be decrypted — the rest of the row is still reported.
attributes: Option<MessageAttributes>§visibility: MessageVisibility§receive_count: i64§body_bytes: Option<i64>Plaintext size, counted against the queue’s max_message_bytes.
message_group_id: Option<String>§enqueued_at: String§visible_at: String§expires_at: StringWhen retention discards this message.
first_received_at: Option<Nullable<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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