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
Credential Authorization
The note given to the token. This will only be present when the credential is a token.
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
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
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
Auto Trait Implementations
impl RefUnwindSafe for CredentialAuthorization
impl Send for CredentialAuthorization
impl Sync for CredentialAuthorization
impl Unpin for CredentialAuthorization
impl UnwindSafe for CredentialAuthorization
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more