pub struct RecoveryOAuthInitRequestBody {
pub code_challenge: Option<String>,
pub redirect_to: String,
pub state_code: Option<String>,
pub token: Option<String>,
}Expand description
The request body for initiating an OAuth recovery flow.
JSON schema
{
"title": "RecoveryOAuthInitRequestBody",
"description": "The request body for initiating an OAuth recovery
flow.",
"type": "object",
"required": [
"redirect_to"
],
"properties": {
"code_challenge": {
"type": "string"
},
"redirect_to": {
"type": "string"
},
"state_code": {
"type": "string"
},
"token": {
"type": "string"
}
}
}Fields§
§code_challenge: Option<String>§redirect_to: String§state_code: Option<String>§token: Option<String>Trait Implementations§
Source§impl Clone for RecoveryOAuthInitRequestBody
impl Clone for RecoveryOAuthInitRequestBody
Source§fn clone(&self) -> RecoveryOAuthInitRequestBody
fn clone(&self) -> RecoveryOAuthInitRequestBody
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 RecoveryOAuthInitRequestBody
impl Debug for RecoveryOAuthInitRequestBody
Source§impl<'de> Deserialize<'de> for RecoveryOAuthInitRequestBody
impl<'de> Deserialize<'de> for RecoveryOAuthInitRequestBody
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<&RecoveryOAuthInitRequestBody> for RecoveryOAuthInitRequestBody
impl From<&RecoveryOAuthInitRequestBody> for RecoveryOAuthInitRequestBody
Source§fn from(value: &RecoveryOAuthInitRequestBody) -> Self
fn from(value: &RecoveryOAuthInitRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecoveryOAuthInitRequestBody
impl RefUnwindSafe for RecoveryOAuthInitRequestBody
impl Send for RecoveryOAuthInitRequestBody
impl Sync for RecoveryOAuthInitRequestBody
impl Unpin for RecoveryOAuthInitRequestBody
impl UnsafeUnpin for RecoveryOAuthInitRequestBody
impl UnwindSafe for RecoveryOAuthInitRequestBody
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