pub struct InboxEvent {
pub event_id: String,
pub event_type: Option<String>,
pub inbox_id: Option<String>,
pub organization_id: Option<String>,
pub pod_id: Option<String>,
pub message_id: Option<String>,
pub label: Option<String>,
pub event_at: Option<String>,
pub created_at: Option<String>,
}Expand description
An entry in an inbox’s audit log (label changes, deliveries, etc.).
Fields§
§event_id: StringUnique event id.
event_type: Option<String>The kind of event.
inbox_id: Option<String>The inbox the event belongs to.
organization_id: Option<String>The organization the event belongs to.
pod_id: Option<String>The pod the event belongs to, when applicable.
message_id: Option<String>The message the event concerns, when applicable.
label: Option<String>The label involved, for label events.
event_at: Option<String>When the event occurred (RFC 3339).
created_at: Option<String>When the event record was created (RFC 3339).
Trait Implementations§
Source§impl Clone for InboxEvent
impl Clone for InboxEvent
Source§fn clone(&self) -> InboxEvent
fn clone(&self) -> InboxEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InboxEvent
impl Debug for InboxEvent
Source§impl<'de> Deserialize<'de> for InboxEvent
impl<'de> Deserialize<'de> for InboxEvent
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 InboxEvent
impl RefUnwindSafe for InboxEvent
impl Send for InboxEvent
impl Sync for InboxEvent
impl Unpin for InboxEvent
impl UnsafeUnpin for InboxEvent
impl UnwindSafe for InboxEvent
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