pub struct OAuthInitRecoveryInput {
pub code_challenge: Option<String>,
pub redirect_to: String,
pub state_code: Option<String>,
pub token: Option<String>,
}Expand description
The input for initiating an OAuth recovery flow.
JSON schema
{
"title": "OAuthInitRecoveryInput",
"description": "The input 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"
}
},
"x-stainless-model": "embedded_wallets.oauth_init_recovery_input"
}Fields§
§code_challenge: Option<String>§redirect_to: String§state_code: Option<String>§token: Option<String>Trait Implementations§
Source§impl Clone for OAuthInitRecoveryInput
impl Clone for OAuthInitRecoveryInput
Source§fn clone(&self) -> OAuthInitRecoveryInput
fn clone(&self) -> OAuthInitRecoveryInput
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 OAuthInitRecoveryInput
impl Debug for OAuthInitRecoveryInput
Source§impl<'de> Deserialize<'de> for OAuthInitRecoveryInput
impl<'de> Deserialize<'de> for OAuthInitRecoveryInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthInitRecoveryInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthInitRecoveryInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OAuthInitRecoveryInput> for OAuthInitRecoveryInput
impl From<&OAuthInitRecoveryInput> for OAuthInitRecoveryInput
Source§fn from(value: &OAuthInitRecoveryInput) -> OAuthInitRecoveryInput
fn from(value: &OAuthInitRecoveryInput) -> OAuthInitRecoveryInput
Converts to this type from the input type.
Source§impl Serialize for OAuthInitRecoveryInput
impl Serialize for OAuthInitRecoveryInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OAuthInitRecoveryInput
impl RefUnwindSafe for OAuthInitRecoveryInput
impl Send for OAuthInitRecoveryInput
impl Sync for OAuthInitRecoveryInput
impl Unpin for OAuthInitRecoveryInput
impl UnsafeUnpin for OAuthInitRecoveryInput
impl UnwindSafe for OAuthInitRecoveryInput
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