Struct mz_audit_log::EventV1
source · pub struct EventV1 {
pub id: u64,
pub event_type: EventType,
pub object_type: ObjectType,
pub details: EventDetails,
pub user: Option<String>,
pub occurred_at: EpochMillis,
}
Fields§
§id: u64
§event_type: EventType
§object_type: ObjectType
§details: EventDetails
§user: Option<String>
§occurred_at: EpochMillis
Trait Implementations§
source§impl<'de> Deserialize<'de> for EventV1
impl<'de> Deserialize<'de> for EventV1
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 Ord for EventV1
impl Ord for EventV1
source§impl PartialEq<EventV1> for EventV1
impl PartialEq<EventV1> for EventV1
source§impl PartialOrd<EventV1> for EventV1
impl PartialOrd<EventV1> for EventV1
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EventV1
impl StructuralEq for EventV1
impl StructuralPartialEq for EventV1
Auto Trait Implementations§
impl RefUnwindSafe for EventV1
impl Send for EventV1
impl Sync for EventV1
impl Unpin for EventV1
impl UnwindSafe for EventV1
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request