[][src]Struct em_client::models::AuditLog

pub struct AuditLog {
    pub log_id: Uuid,
    pub zone_id: Option<Uuid>,
    pub severity: EventSeverity,
    pub description: String,
    pub timestamp: i64,
    pub action_type: EventActionType,
    pub actor_type: EventActorType,
    pub user_id: Uuid,
    pub user_name: String,
    pub app_id: Uuid,
    pub app_name: String,
    pub node_id: Uuid,
    pub node_name: String,
}

Fields

log_id: Uuid

Log Entry Id

zone_id: Option<Uuid>

Zone Id

severity: EventSeveritydescription: String

Description of the event

timestamp: i64

Event timestamp

action_type: EventActionTypeactor_type: EventActorTypeuser_id: Uuid

User Id, if actor is a user

user_name: String

User Name, if actor is a user

app_id: Uuid

App Id, if actor is an app

app_name: String

App Name, if actor is an app

node_id: Uuid

Node Id, if associated with the event

node_name: String

Node Name, if associated with the event

Implementations

impl AuditLog[src]

pub fn new(
    log_id: Uuid,
    severity: EventSeverity,
    description: String,
    timestamp: i64,
    action_type: EventActionType,
    actor_type: EventActorType,
    user_id: Uuid,
    user_name: String,
    app_id: Uuid,
    app_name: String,
    node_id: Uuid,
    node_name: String
) -> AuditLog
[src]

Trait Implementations

impl Clone for AuditLog[src]

impl Debug for AuditLog[src]

impl<'de> Deserialize<'de> for AuditLog[src]

impl PartialEq<AuditLog> for AuditLog[src]

impl Serialize for AuditLog[src]

impl StructuralPartialEq for AuditLog[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any