pub struct AuditEntry {Show 22 fields
pub version: String,
pub deployment_id: Option<String>,
pub site_name: Option<String>,
pub time: Timestamp,
pub event: EventName,
pub entry_type: Option<String>,
pub trigger: String,
pub api: ApiDetails,
pub remote_host: Option<String>,
pub request_id: Option<String>,
pub user_agent: Option<String>,
pub req_path: Option<String>,
pub req_host: Option<String>,
pub req_node: Option<String>,
pub req_claims: Option<HashMap<String, Value>>,
pub req_query: Option<HashMap<String, String>>,
pub req_header: Option<HashMap<String, String>>,
pub resp_header: Option<HashMap<String, String>>,
pub tags: Option<HashMap<String, Value>>,
pub access_key: Option<String>,
pub parent_user: Option<String>,
pub error: Option<String>,
}Expand description
AuditEntry represents an audit log entry.
Fields§
§version: String§deployment_id: Option<String>§site_name: Option<String>§time: Timestamp§event: EventName§entry_type: Option<String>§trigger: String§api: ApiDetails§remote_host: Option<String>§request_id: Option<String>§user_agent: Option<String>§req_path: Option<String>§req_host: Option<String>§req_node: Option<String>§req_claims: Option<HashMap<String, Value>>§req_query: Option<HashMap<String, String>>§req_header: Option<HashMap<String, String>>§resp_header: Option<HashMap<String, String>>§access_key: Option<String>§parent_user: Option<String>§error: Option<String>Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditEntry
impl Debug for AuditEntry
Source§impl Default for AuditEntry
impl Default for AuditEntry
Source§fn default() -> AuditEntry
fn default() -> AuditEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
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
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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