Struct okta::types::OAuth2RefreshToken
source · pub struct OAuth2RefreshToken {
pub embedded: Option<Links>,
pub links: Option<Links>,
pub client_id: String,
pub created: Option<DateTime<Utc>>,
pub created_by: Option<OAuth2Actor>,
pub expires_at: Option<DateTime<Utc>>,
pub id: String,
pub issuer: String,
pub last_updated: Option<DateTime<Utc>>,
pub scopes: Vec<String>,
pub status: Option<OAuth2RefreshTokenStatus>,
pub user_id: String,
}
Fields§
§embedded: Option<Links>
§links: Option<Links>
§client_id: String
§created: Option<DateTime<Utc>>
§created_by: Option<OAuth2Actor>
§expires_at: Option<DateTime<Utc>>
§id: String
§issuer: String
§last_updated: Option<DateTime<Utc>>
§scopes: Vec<String>
§status: Option<OAuth2RefreshTokenStatus>
§user_id: String
Trait Implementations§
source§impl Clone for OAuth2RefreshToken
impl Clone for OAuth2RefreshToken
source§fn clone(&self) -> OAuth2RefreshToken
fn clone(&self) -> OAuth2RefreshToken
Returns a copy 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 OAuth2RefreshToken
impl Debug for OAuth2RefreshToken
source§impl<'de> Deserialize<'de> for OAuth2RefreshToken
impl<'de> Deserialize<'de> for OAuth2RefreshToken
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
source§impl JsonSchema for OAuth2RefreshToken
impl JsonSchema for OAuth2RefreshToken
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<OAuth2RefreshToken> for OAuth2RefreshToken
impl PartialEq<OAuth2RefreshToken> for OAuth2RefreshToken
source§fn eq(&self, other: &OAuth2RefreshToken) -> bool
fn eq(&self, other: &OAuth2RefreshToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OAuth2RefreshToken
impl Serialize for OAuth2RefreshToken
impl StructuralPartialEq for OAuth2RefreshToken
Auto Trait Implementations§
impl RefUnwindSafe for OAuth2RefreshToken
impl Send for OAuth2RefreshToken
impl Sync for OAuth2RefreshToken
impl Unpin for OAuth2RefreshToken
impl UnwindSafe for OAuth2RefreshToken
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