pub struct RequestLogEntry {
pub timestamp: DateTime<Utc>,
pub request_type: String,
pub session_id: Option<String>,
pub signer_id: Option<String>,
pub duration_us: u64,
pub success: bool,
pub error: Option<String>,
pub bytes_in: u64,
pub bytes_out: u64,
}Expand description
A single request log entry.
Fields§
§timestamp: DateTime<Utc>§request_type: String§session_id: Option<String>§signer_id: Option<String>§duration_us: u64§success: bool§error: Option<String>§bytes_in: u64§bytes_out: u64Trait Implementations§
Source§impl Clone for RequestLogEntry
impl Clone for RequestLogEntry
Source§fn clone(&self) -> RequestLogEntry
fn clone(&self) -> RequestLogEntry
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 RequestLogEntry
impl Debug for RequestLogEntry
Source§impl<'de> Deserialize<'de> for RequestLogEntry
impl<'de> Deserialize<'de> for RequestLogEntry
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 RequestLogEntry
impl RefUnwindSafe for RequestLogEntry
impl Send for RequestLogEntry
impl Sync for RequestLogEntry
impl Unpin for RequestLogEntry
impl UnsafeUnpin for RequestLogEntry
impl UnwindSafe for RequestLogEntry
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