pub struct LogRecord {
pub _otel: String,
pub source: String,
pub endpoint: String,
pub method: String,
pub payload: Value,
pub headers: HashMap<String, String>,
pub content_type: String,
pub content_encoding: Option<String>,
pub base64: Option<bool>,
}Fields§
§_otel: String§source: String§endpoint: String§method: String§payload: Value§headers: HashMap<String, String>§content_type: String§content_encoding: Option<String>§base64: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogRecord
impl<'de> Deserialize<'de> for LogRecord
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 LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnwindSafe for LogRecord
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