pub struct Credential {
pub tenancy: String,
pub user: String,
pub key_file: String,
pub fingerprint: String,
pub expires_in: Option<Timestamp>,
}Expand description
Credential that holds the API private key information.
Fields§
§tenancy: StringTenantID for Oracle Cloud Infrastructure.
user: StringUserID for Oracle Cloud Infrastructure.
key_file: StringAPI Private Key file path for credential.
fingerprint: StringFingerprint of the API Key.
expires_in: Option<Timestamp>Deadline after which the credential source should be reloaded.
Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Credential
impl Debug for Credential
Source§impl Default for Credential
impl Default for Credential
Source§fn default() -> Credential
fn default() -> Credential
Returns the “default value” for a type. Read more
Source§impl SigningCredential for Credential
impl SigningCredential for Credential
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnsafeUnpin for Credential
impl UnwindSafe for Credential
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more