Struct azure_devops_rust_api::audit::models::AuditLogEntry
source · pub struct AuditLogEntry {Show 16 fields
pub action_id: Option<String>,
pub activity_id: Option<String>,
pub actor_client_id: Option<String>,
pub actor_cuid: Option<String>,
pub actor_upn: Option<String>,
pub actor_user_id: Option<String>,
pub authentication_mechanism: Option<String>,
pub correlation_id: Option<String>,
pub data: Option<Value>,
pub id: Option<String>,
pub ip_address: Option<String>,
pub project_id: Option<String>,
pub scope_id: Option<String>,
pub scope_type: Option<ScopeType>,
pub timestamp: Option<OffsetDateTime>,
pub user_agent: Option<String>,
}Expand description
Fields§
§action_id: Option<String>The action if for the event, i.e Git.CreateRepo, Project.RenameProject
activity_id: Option<String>ActivityId
actor_client_id: Option<String>The Actor’s Client Id (if actor is a service principal)
actor_cuid: Option<String>The Actor’s CUID
actor_upn: Option<String>The Actor’s UPN
actor_user_id: Option<String>The Actor’s User Id (if actor is a user)
authentication_mechanism: Option<String>Type of authentication used by the author
correlation_id: Option<String>This allows us to group things together, like one user action that caused a cascade of event entries (project creation).
data: Option<Value>External data such as CUIDs, item names, etc.
id: Option<String>EventId, should be unique
ip_address: Option<String>IP Address where the event was originated
project_id: Option<String>When specified, the id of the project this event is associated to
scope_id: Option<String>The organization Id (Organization is the only scope currently supported)
scope_type: Option<ScopeType>The type of the scope (Organization is only scope currently supported)
timestamp: Option<OffsetDateTime>The time when the event occurred in UTC
user_agent: Option<String>The user agent from the request
Implementations§
source§impl AuditLogEntry
impl AuditLogEntry
Trait Implementations§
source§impl Clone for AuditLogEntry
impl Clone for AuditLogEntry
source§fn clone(&self) -> AuditLogEntry
fn clone(&self) -> AuditLogEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AuditLogEntry
impl Debug for AuditLogEntry
source§impl Default for AuditLogEntry
impl Default for AuditLogEntry
source§fn default() -> AuditLogEntry
fn default() -> AuditLogEntry
source§impl<'de> Deserialize<'de> for AuditLogEntry
impl<'de> Deserialize<'de> for AuditLogEntry
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>,
source§impl PartialEq for AuditLogEntry
impl PartialEq for AuditLogEntry
source§fn eq(&self, other: &AuditLogEntry) -> bool
fn eq(&self, other: &AuditLogEntry) -> bool
self and other values to be equal, and is used
by ==.