pub struct LogEvent {Show 16 fields
pub actor: Option<LogActor>,
pub authentication_context: Option<LogAuthenticationContext>,
pub client: Option<LogClient>,
pub debug_context: Option<LogDebugContext>,
pub display_message: String,
pub event_type: String,
pub legacy_event_type: String,
pub outcome: Option<LogOutcome>,
pub published: Option<DateTime<Utc>>,
pub request: Option<LogRequest>,
pub security_context: Option<LogSecurityContext>,
pub severity: Option<LogSeverity>,
pub target: Vec<LogTarget>,
pub transaction: Option<LogTransaction>,
pub uuid: String,
pub version: String,
}
Fields§
§actor: Option<LogActor>
§authentication_context: Option<LogAuthenticationContext>
§client: Option<LogClient>
§debug_context: Option<LogDebugContext>
§display_message: String
§event_type: String
§legacy_event_type: String
§outcome: Option<LogOutcome>
§published: Option<DateTime<Utc>>
§request: Option<LogRequest>
§security_context: Option<LogSecurityContext>
§severity: Option<LogSeverity>
§target: Vec<LogTarget>
§transaction: Option<LogTransaction>
§uuid: String
§version: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for LogEvent
impl<'de> Deserialize<'de> for LogEvent
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 JsonSchema for LogEvent
impl JsonSchema for LogEvent
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<LogEvent> for LogEvent
impl PartialEq<LogEvent> for LogEvent
impl StructuralPartialEq for LogEvent
Auto Trait Implementations§
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnwindSafe for LogEvent
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