pub struct LogAttributes {
pub timestamp: Option<String>,
pub service: Option<String>,
pub status: Option<String>,
pub message: Option<String>,
pub host: Option<String>,
pub tags: Vec<String>,
pub attributes: Value,
}Fields§
§timestamp: Option<String>§service: Option<String>§status: Option<String>§message: Option<String>§host: Option<String>§attributes: ValueTrait Implementations§
Source§impl Clone for LogAttributes
impl Clone for LogAttributes
Source§fn clone(&self) -> LogAttributes
fn clone(&self) -> LogAttributes
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 LogAttributes
impl Debug for LogAttributes
Source§impl Default for LogAttributes
impl Default for LogAttributes
Source§fn default() -> LogAttributes
fn default() -> LogAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogAttributes
impl<'de> Deserialize<'de> for LogAttributes
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 LogAttributes
impl RefUnwindSafe for LogAttributes
impl Send for LogAttributes
impl Sync for LogAttributes
impl Unpin for LogAttributes
impl UnsafeUnpin for LogAttributes
impl UnwindSafe for LogAttributes
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