pub struct LogSchema {
pub message: String,
pub context: String,
}
Fields§
§message: String
§context: String
Implementations§
Source§impl LogSchema
impl LogSchema
pub fn to_betterstack( &self, env_config: &EnvConfig, level: LogLevel, ) -> BetterStackLogSchema
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogSchema
impl RefUnwindSafe for LogSchema
impl Send for LogSchema
impl Sync for LogSchema
impl Unpin for LogSchema
impl UnwindSafe for LogSchema
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