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]

fn clone(&self) -> AuditLogEvent[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AuditLogEvent[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for AuditLogEvent[src]

fn default() -> AuditLogEvent[src]

Returns the “default value” for a type. Read more

impl<'de> Deserialize<'de> for AuditLogEvent[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]

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]

This method tests for !=.

impl Serialize for AuditLogEvent[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for AuditLogEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]