pub struct JsonLogRecord {Show 27 fields
pub kind: RecordType,
pub id: String,
pub sender: String,
pub recipient: Vec<String>,
pub queue: String,
pub site: String,
pub size: u64,
pub response: Response,
pub peer_address: Option<ResolvedAddress>,
pub timestamp: DateTime<Utc>,
pub created: DateTime<Utc>,
pub num_attempts: u16,
pub bounce_classification: BounceClass,
pub egress_pool: Option<String>,
pub egress_source: Option<String>,
pub source_address: Option<MaybeProxiedSourceAddress>,
pub feedback_report: Option<Box<ARFReport>>,
pub meta: HashMap<String, Value>,
pub headers: HashMap<String, Value>,
pub delivery_protocol: Option<String>,
pub reception_protocol: Option<String>,
pub nodeid: Uuid,
pub tls_cipher: Option<String>,
pub tls_protocol_version: Option<String>,
pub tls_peer_subject_name: Option<Vec<String>>,
pub provider_name: Option<String>,
pub session_id: Option<Uuid>,
}Fields§
§kind: RecordTypeWhat kind of record this is
id: StringThe message id
sender: StringThe envelope sender
recipient: Vec<String>The envelope recipient
queue: StringWhich named queue the message was associated with
site: StringWhich MX site the message was being delivered to
size: u64The size of the message, in bytes
response: ResponseThe response from/to the peer
peer_address: Option<ResolvedAddress>The address of the peer, and our sense of its hostname or EHLO domain
timestamp: DateTime<Utc>The time at which we are logging this event
created: DateTime<Utc>The time at which the message was initially received and created
num_attempts: u16The number of delivery attempts that have been made. Note that this may be approximate after a restart; use the number of logged events to determine the true number
bounce_classification: BounceClass§egress_pool: Option<String>§egress_source: Option<String>§source_address: Option<MaybeProxiedSourceAddress>§feedback_report: Option<Box<ARFReport>>§meta: HashMap<String, Value>§headers: HashMap<String, Value>§delivery_protocol: Option<String>The protocol used to deliver, or attempt to deliver, this message
reception_protocol: Option<String>The protocol used to receive this message
nodeid: UuidThe id of the node on which the event occurred
tls_cipher: Option<String>The TLS Cipher used, if applicable
tls_protocol_version: Option<String>The TLS protocol version used, if applicable
tls_peer_subject_name: Option<Vec<String>>The Subject Name from the peer TLS certificate, if applicable
provider_name: Option<String>The provider name, if any. This is a way of grouping destination sites operated by the same provider.
session_id: Option<Uuid>Uuid identifying a connection/session for either inbound or outbound (depending on the type of the record). This is useful when correlating a series of messages to the same connection for either ingress or egress
Trait Implementations§
Source§impl Clone for JsonLogRecord
impl Clone for JsonLogRecord
Source§fn clone(&self) -> JsonLogRecord
fn clone(&self) -> JsonLogRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more