pub struct ResolvedCredential {
pub record_version: String,
pub expires_at_ms: Option<i64>,
pub account_id: Option<String>,
pub email: Option<String>,
pub org_name: Option<String>,
pub auth: Option<AuthDescriptor>,
pub hosts: Option<Vec<String>>,
pub invalid_key: Option<InvalidKeyEvidence>,
pub base_url: Option<String>,
pub headers: Option<BTreeMap<String, String>>,
/* private fields */
}Fields§
§record_version: String§expires_at_ms: Option<i64>§account_id: Option<String>Provider account identifier returned by the vault, when known.
email: Option<String>Provider account email returned by the vault, when captured.
org_name: Option<String>Provider organization name returned by the vault, when captured (OAuth logins that report one; static API keys carry none).
auth: Option<AuthDescriptor>Read-time provider metadata, absent on older vaults and non-provider records.
hosts: Option<Vec<String>>§invalid_key: Option<InvalidKeyEvidence>§base_url: Option<String>API root for a gateway credential; absent for ordinary provider keys.
headers: Option<BTreeMap<String, String>>Fixed non-secret request headers, including an empty map on gateways without any.
Implementations§
Trait Implementations§
Source§impl Debug for ResolvedCredential
impl Debug for ResolvedCredential
Source§impl Drop for ResolvedCredential
impl Drop for ResolvedCredential
Auto Trait Implementations§
impl Forget for ResolvedCredential
impl Freeze for ResolvedCredentialwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for ResolvedCredential
impl RefUnwindSafe for ResolvedCredential
impl Send for ResolvedCredential
impl Sync for ResolvedCredential
impl Unpin for ResolvedCredential
impl UnsafeUnpin for ResolvedCredentialwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for ResolvedCredential
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