Struct octorust::types::CredentialAuthorization[][src]

pub struct CredentialAuthorization {
    pub authorized_credential_id: i64,
    pub authorized_credential_note: String,
    pub authorized_credential_title: String,
    pub credential_accessed_at: Option<DateTime<Utc>>,
    pub credential_authorized_at: DateTime<Utc>,
    pub credential_id: i64,
    pub credential_type: String,
    pub fingerprint: String,
    pub login: String,
    pub scopes: Vec<String>,
    pub token_last_eight: String,
}
Expand description

Credential Authorization

Fields

authorized_credential_id: i64

Credential Authorization

authorized_credential_note: String

The note given to the token. This will only be present when the credential is a token.

authorized_credential_title: String

The title given to the ssh key. This will only be present when the credential is an ssh key.

credential_accessed_at: Option<DateTime<Utc>>

Date when the credential was last accessed. May be null if it was never accessed

credential_authorized_at: DateTime<Utc>

Date when the credential was authorized for use.

credential_id: i64

Unique identifier for the credential.

credential_type: String

Human-readable description of the credential type.

fingerprint: String

Credential Authorization

login: String

User login that owns the underlying credential.

scopes: Vec<String>

Credential Authorization

token_last_eight: String

Credential Authorization

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.