pub struct CredentialsResponse {
pub access_token: String,
pub token_type: String,
pub expires_in: u64,
pub webid: String,
pub id: String,
}Expand description
Response body matching JSS src/idp/credentials.js:138-145.
Fields§
§access_token: StringSigned access token (JWT).
token_type: String"DPoP" when a valid proof was supplied, else "Bearer".
expires_in: u64Lifetime in seconds.
webid: StringAuthenticated WebID.
id: StringInternal account id.
Trait Implementations§
Source§impl Clone for CredentialsResponse
impl Clone for CredentialsResponse
Source§fn clone(&self) -> CredentialsResponse
fn clone(&self) -> CredentialsResponse
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 CredentialsResponse
impl Debug for CredentialsResponse
Source§impl<'de> Deserialize<'de> for CredentialsResponse
impl<'de> Deserialize<'de> for CredentialsResponse
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 CredentialsResponse
impl RefUnwindSafe for CredentialsResponse
impl Send for CredentialsResponse
impl Sync for CredentialsResponse
impl Unpin for CredentialsResponse
impl UnsafeUnpin for CredentialsResponse
impl UnwindSafe for CredentialsResponse
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