pub struct OAuth2TokenIntrospectionBody {
pub token: String,
}Expand description
https://datatracker.ietf.org/doc/html/rfc7662#section-2.1
JSON schema
{
"$id": "https://haste.health/jsonschema/oauth2/token-introspection-body",
"title": "OAuth2TokenIntrospectionBody",
"description": "https://datatracker.ietf.org/doc/html/rfc7662#section-2.1",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"description": "Token to introspect.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§token: StringToken to introspect.
Trait Implementations§
Source§impl Clone for OAuth2TokenIntrospectionBody
impl Clone for OAuth2TokenIntrospectionBody
Source§fn clone(&self) -> OAuth2TokenIntrospectionBody
fn clone(&self) -> OAuth2TokenIntrospectionBody
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 OAuth2TokenIntrospectionBody
impl Debug for OAuth2TokenIntrospectionBody
Source§impl<'de> Deserialize<'de> for OAuth2TokenIntrospectionBody
impl<'de> Deserialize<'de> for OAuth2TokenIntrospectionBody
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<&OAuth2TokenIntrospectionBody> for OAuth2TokenIntrospectionBody
impl From<&OAuth2TokenIntrospectionBody> for OAuth2TokenIntrospectionBody
Source§fn from(value: &OAuth2TokenIntrospectionBody) -> Self
fn from(value: &OAuth2TokenIntrospectionBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OAuth2TokenIntrospectionBody
impl RefUnwindSafe for OAuth2TokenIntrospectionBody
impl Send for OAuth2TokenIntrospectionBody
impl Sync for OAuth2TokenIntrospectionBody
impl Unpin for OAuth2TokenIntrospectionBody
impl UnwindSafe for OAuth2TokenIntrospectionBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more