pub struct AuditLogEventContext {
pub api_authentication_method: String,
pub client_ip_address: String,
pub context_type: String,
pub oauth_app_name: String,
pub user_agent: String,
}Expand description
The context from which this event originated.
Fields§
§api_authentication_method: StringThe authentication method used in the context of an API request.
Only present if the context_type is api. Can be one of cookie, oauth, personal_access_token, or service_account.
client_ip_address: StringThe IP address of the client that initiated the event, if applicable.
context_type: StringThe type of context.
Can be one of web, desktop, mobile, asana_support, asana, email, or api.
oauth_app_name: StringThe name of the OAuth App that initiated the event.
Only present if the api_authentication_method is oauth.
user_agent: StringThe user agent of the client that initiated the event, if applicable.
Trait Implementations§
Source§impl Clone for AuditLogEventContext
impl Clone for AuditLogEventContext
Source§fn clone(&self) -> AuditLogEventContext
fn clone(&self) -> AuditLogEventContext
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 AuditLogEventContext
impl Debug for AuditLogEventContext
Source§impl Default for AuditLogEventContext
impl Default for AuditLogEventContext
Source§fn default() -> AuditLogEventContext
fn default() -> AuditLogEventContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditLogEventContext
impl<'de> Deserialize<'de> for AuditLogEventContext
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 Display for AuditLogEventContext
impl Display for AuditLogEventContext
Auto Trait Implementations§
impl Freeze for AuditLogEventContext
impl RefUnwindSafe for AuditLogEventContext
impl Send for AuditLogEventContext
impl Sync for AuditLogEventContext
impl Unpin for AuditLogEventContext
impl UnsafeUnpin for AuditLogEventContext
impl UnwindSafe for AuditLogEventContext
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