pub struct OptionalRefreshTokenInput {
pub refresh_token: Option<String>,
}Expand description
The input for refreshing a session or logging out.
JSON schema
{
"title": "OptionalRefreshTokenInput",
"description": "The input for refreshing a session or logging out.",
"type": "object",
"properties": {
"refresh_token": {
"type": "string"
}
}
}Fields§
§refresh_token: Option<String>Trait Implementations§
Source§impl Clone for OptionalRefreshTokenInput
impl Clone for OptionalRefreshTokenInput
Source§fn clone(&self) -> OptionalRefreshTokenInput
fn clone(&self) -> OptionalRefreshTokenInput
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 OptionalRefreshTokenInput
impl Debug for OptionalRefreshTokenInput
Source§impl Default for OptionalRefreshTokenInput
impl Default for OptionalRefreshTokenInput
Source§impl<'de> Deserialize<'de> for OptionalRefreshTokenInput
impl<'de> Deserialize<'de> for OptionalRefreshTokenInput
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 From<&OptionalRefreshTokenInput> for OptionalRefreshTokenInput
impl From<&OptionalRefreshTokenInput> for OptionalRefreshTokenInput
Source§fn from(value: &OptionalRefreshTokenInput) -> Self
fn from(value: &OptionalRefreshTokenInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptionalRefreshTokenInput
impl RefUnwindSafe for OptionalRefreshTokenInput
impl Send for OptionalRefreshTokenInput
impl Sync for OptionalRefreshTokenInput
impl Unpin for OptionalRefreshTokenInput
impl UnsafeUnpin for OptionalRefreshTokenInput
impl UnwindSafe for OptionalRefreshTokenInput
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