pub struct Log {
pub datetime: String,
pub facility: u32,
pub fqdn: String,
pub id: u32,
pub message: String,
pub message_class: MessageClass,
pub resource_uri: String,
pub severity: LogSeverity,
pub substitutions: Vec<Substitution>,
pub tag: String,
}
Expand description
An Log record from /api/log/
Fields§
§datetime: String
§facility: u32
§fqdn: String
§id: u32
§message: String
§message_class: MessageClass
§resource_uri: String
§severity: LogSeverity
§substitutions: Vec<Substitution>
§tag: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
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
Source§impl EndpointName for Log
impl EndpointName for Log
fn endpoint_name() -> &'static str
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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