Struct minerva_data::syslog::Syslog
source · [−]pub struct Syslog {
pub id: i32,
pub service: String,
pub requestor: String,
pub entity: String,
pub operation: OpType,
pub datetime: DateTime<Utc>,
pub description: Option<String>,
}Expand description
DTO representing a single entry on the syslog table.
Fields
id: i32ID of the entry on the table.
service: StringName of the service that performed the operation.
requestor: StringUsername of whom requested the operation.
entity: StringName of the entity that was manipulated, usually the same as a table.
operation: OpTypeOperation performed.
datetime: DateTime<Utc>Date and time of the performed operation.
description: Option<String>Optional description of the performed operation.
Trait Implementations
sourceimpl<__DB: Backend, __ST> Queryable<__ST, __DB> for Syslogwhere
(i32, String, String, String, OpType, DateTime<Utc>, Option<String>): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Syslogwhere
(i32, String, String, String, OpType, DateTime<Utc>, Option<String>): Queryable<__ST, __DB>,
impl Eq for Syslog
impl StructuralEq for Syslog
impl StructuralPartialEq for Syslog
Auto Trait Implementations
impl RefUnwindSafe for Syslog
impl Send for Syslog
impl Sync for Syslog
impl Unpin for Syslog
impl UnwindSafe for Syslog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request