pub struct ProfileCredentials {
pub token: String,
pub token_id: Option<String>,
pub host: String,
pub user: String,
pub time_expires: Option<String>,
}
Expand description
Credentials for a particular profile.
Fields§
§token: String
Secret API token (DO NOT SHARE)
token_id: Option<String>
Token ID for accessing token properties in the API
host: String
API host
user: String
User id
time_expires: Option<String>
Expiration time of the token if any
Trait Implementations§
Source§impl Debug for ProfileCredentials
impl Debug for ProfileCredentials
Source§impl<'de> Deserialize<'de> for ProfileCredentials
impl<'de> Deserialize<'de> for ProfileCredentials
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 ProfileCredentials
impl RefUnwindSafe for ProfileCredentials
impl Send for ProfileCredentials
impl Sync for ProfileCredentials
impl Unpin for ProfileCredentials
impl UnwindSafe for ProfileCredentials
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