pub struct LogDetails {
pub request: Option<String>,
pub response: Option<String>,
}Expand description
Raw request/response payloads attached to a log entry.
Fields§
§request: Option<String>JSON-encoded request body (truncated at 2KB).
response: Option<String>JSON-encoded response body (truncated at 2KB).
Trait Implementations§
Source§impl Clone for LogDetails
impl Clone for LogDetails
Source§fn clone(&self) -> LogDetails
fn clone(&self) -> LogDetails
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 LogDetails
impl Debug for LogDetails
Source§impl<'de> Deserialize<'de> for LogDetails
impl<'de> Deserialize<'de> for LogDetails
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 LogDetails
impl RefUnwindSafe for LogDetails
impl Send for LogDetails
impl Sync for LogDetails
impl Unpin for LogDetails
impl UnsafeUnpin for LogDetails
impl UnwindSafe for LogDetails
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