pub struct CredentialInfo {
pub type: Option<String>,
pub scopes: Option<Vec<String>>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
An object containing information about how you’re accessing the API.
Fields§
§type: Option<String>§scopes: Option<Vec<String>>§expires_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for CredentialInfo
impl Clone for CredentialInfo
Source§fn clone(&self) -> CredentialInfo
fn clone(&self) -> CredentialInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 CredentialInfo
impl Debug for CredentialInfo
Source§impl<'de> Deserialize<'de> for CredentialInfo
impl<'de> Deserialize<'de> for CredentialInfo
Source§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 Freeze for CredentialInfo
impl RefUnwindSafe for CredentialInfo
impl Send for CredentialInfo
impl Sync for CredentialInfo
impl Unpin for CredentialInfo
impl UnwindSafe for CredentialInfo
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