pub struct LogEntry {Show 17 fields
pub time: u64,
pub state: LogState,
pub message_id: String,
pub next_delivery_time: Option<u64>,
pub error: Option<String>,
pub url: Option<String>,
pub topic_name: Option<String>,
pub endpoint_name: Option<String>,
pub header: Option<HashMap<String, Vec<String>>>,
pub body: Option<String>,
pub body_base64: Option<String>,
pub response_status: Option<u16>,
pub label: Option<String>,
pub queue_name: Option<String>,
pub schedule_id: Option<String>,
pub caller_ip: Option<String>,
pub flow_control_key: Option<String>,
}Expand description
A single QStash log entry.
Fields§
§time: u64Timestamp in milliseconds.
state: LogStateMessage state.
message_id: StringMessage identifier.
next_delivery_time: Option<u64>Next delivery timestamp in milliseconds when one exists.
error: Option<String>Delivery error.
url: Option<String>Destination URL.
topic_name: Option<String>URL Group name.
endpoint_name: Option<String>Endpoint label inside the URL Group.
header: Option<HashMap<String, Vec<String>>>Forwarded headers.
body: Option<String>UTF-8 body when available.
body_base64: Option<String>Base64-encoded body for non-UTF-8 payloads.
response_status: Option<u16>HTTP response status from the destination.
label: Option<String>User-defined label.
queue_name: Option<String>Queue name.
schedule_id: Option<String>Schedule identifier.
caller_ip: Option<String>Caller IP.
flow_control_key: Option<String>Flow control key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogEntry
impl<'de> Deserialize<'de> for LogEntry
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
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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