Struct roctogen::models::AuditLogEvent [−][src]
pub struct AuditLogEvent {}Show fields
pub timestamp: Option<i64>, pub action: Option<String>, pub active: Option<bool>, pub active_was: Option<bool>, pub actor: Option<String>, pub blocked_user: Option<String>, pub business: Option<String>, pub config: Option<Vec<Value>>, pub config_was: Option<Vec<Value>>, pub content_type: Option<String>, pub created_at: Option<i64>, pub deploy_key_fingerprint: Option<String>, pub _document_id: Option<String>, pub emoji: Option<String>, pub events: Option<Vec<Value>>, pub events_were: Option<Vec<Value>>, pub explanation: Option<String>, pub fingerprint: Option<String>, pub hook_id: Option<i64>, pub limited_availability: Option<bool>, pub message: Option<String>, pub name: Option<String>, pub old_user: Option<String>, pub openssh_public_key: Option<String>, pub org: Option<String>, pub previous_visibility: Option<String>, pub read_only: Option<bool>, pub repo: Option<String>, pub repository: Option<String>, pub repository_public: Option<bool>, pub target_login: Option<String>, pub team: Option<String>, pub transport_protocol: Option<i64>, pub transport_protocol_name: Option<String>, pub user: Option<String>, pub visibility: Option<String>,
Fields
timestamp: Option<i64>
Expand description
The time the audit log event occurred, given as a Unix timestamp.
action: Option<String>
Expand description
The name of the action that was performed, for example user.login
or repo.create
.
active: Option<bool>
active_was: Option<bool>
actor: Option<String>
Expand description
The actor who performed the action.
blocked_user: Option<String>
Expand description
The username of the account being blocked.
business: Option<String>
config: Option<Vec<Value>>
config_was: Option<Vec<Value>>
content_type: Option<String>
created_at: Option<i64>
Expand description
The time the audit log event was recorded, given as a Unix timestamp.
deploy_key_fingerprint: Option<String>
_document_id: Option<String>
Expand description
A unique identifier for an audit event.
emoji: Option<String>
events: Option<Vec<Value>>
events_were: Option<Vec<Value>>
explanation: Option<String>
fingerprint: Option<String>
hook_id: Option<i64>
limited_availability: Option<bool>
message: Option<String>
name: Option<String>
old_user: Option<String>
openssh_public_key: Option<String>
org: Option<String>
previous_visibility: Option<String>
read_only: Option<bool>
repo: Option<String>
Expand description
The name of the repository.
repository: Option<String>
Expand description
The name of the repository.
repository_public: Option<bool>
target_login: Option<String>
team: Option<String>
transport_protocol: Option<i64>
Expand description
The type of protocol (for example, HTTP or SSH) used to transfer Git data.
transport_protocol_name: Option<String>
Expand description
A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data.
user: Option<String>
Expand description
The user that was affected by the action performed (if available).
visibility: Option<String>
Expand description
The repository visibility, for example public
or private
.
Trait Implementations
impl Clone for AuditLogEvent
[src]
impl Clone for AuditLogEvent
[src]fn clone(&self) -> AuditLogEvent
[src]
fn clone(&self) -> AuditLogEvent
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AuditLogEvent
[src]
impl Debug for AuditLogEvent
[src]impl Default for AuditLogEvent
[src]
impl Default for AuditLogEvent
[src]fn default() -> AuditLogEvent
[src]
fn default() -> AuditLogEvent
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for AuditLogEvent
[src]
impl<'de> Deserialize<'de> for AuditLogEvent
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<AuditLogEvent> for AuditLogEvent
[src]
impl PartialEq<AuditLogEvent> for AuditLogEvent
[src]fn eq(&self, other: &AuditLogEvent) -> bool
[src]
fn eq(&self, other: &AuditLogEvent) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AuditLogEvent) -> bool
[src]
fn ne(&self, other: &AuditLogEvent) -> bool
[src]This method tests for !=
.
impl Serialize for AuditLogEvent
[src]
impl Serialize for AuditLogEvent
[src]impl StructuralPartialEq for AuditLogEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuditLogEvent
impl Send for AuditLogEvent
impl Sync for AuditLogEvent
impl Unpin for AuditLogEvent
impl UnwindSafe for AuditLogEvent
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,