Struct swanling::swanling::SwanlingDebug [−][src]
pub struct SwanlingDebug { pub tag: String, pub request: Option<SwanlingRequestMetric>, pub header: Option<String>, pub body: Option<String>, }
Expand description
Object created by log_debug()
and written
to log to assist in debugging.
Fields
tag: String
String to identify the source of the log message.
request: Option<SwanlingRequestMetric>
Optional request made.
header: Option<String>
Optional headers returned by server.
body: Option<String>
Optional body text returned by server.
Trait Implementations
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 RefUnwindSafe for SwanlingDebug
impl Send for SwanlingDebug
impl Sync for SwanlingDebug
impl Unpin for SwanlingDebug
impl UnwindSafe for SwanlingDebug