pub struct AuthenticateJwtInput {
pub mode: Option<AuthenticateModeOption>,
pub token: Option<String>,
}Expand description
Input for authenticating with a custom JWT.
JSON schema
{
"title": "AuthenticateJwtInput",
"description": "Input for authenticating with a custom JWT.",
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AuthenticateModeOption"
},
"token": {
"type": "string"
}
},
"x-stainless-model": "client_auth.authenticate_jwt_input"
}Fields§
§mode: Option<AuthenticateModeOption>§token: Option<String>Trait Implementations§
Source§impl Clone for AuthenticateJwtInput
impl Clone for AuthenticateJwtInput
Source§fn clone(&self) -> AuthenticateJwtInput
fn clone(&self) -> AuthenticateJwtInput
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 AuthenticateJwtInput
impl Debug for AuthenticateJwtInput
Source§impl Default for AuthenticateJwtInput
impl Default for AuthenticateJwtInput
Source§impl<'de> Deserialize<'de> for AuthenticateJwtInput
impl<'de> Deserialize<'de> for AuthenticateJwtInput
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<&AuthenticateJwtInput> for AuthenticateJwtInput
impl From<&AuthenticateJwtInput> for AuthenticateJwtInput
Source§fn from(value: &AuthenticateJwtInput) -> Self
fn from(value: &AuthenticateJwtInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticateJwtInput
impl RefUnwindSafe for AuthenticateJwtInput
impl Send for AuthenticateJwtInput
impl Sync for AuthenticateJwtInput
impl Unpin for AuthenticateJwtInput
impl UnsafeUnpin for AuthenticateJwtInput
impl UnwindSafe for AuthenticateJwtInput
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