pub enum Body<SCOPE>where
SCOPE: Scope,{
AuthorizationCodeGrant(BodyWithAuthorizationCodeGrant),
DeviceAuthorizationGrant(BodyWithDeviceAuthorizationGrant),
ClientCredentialsGrant(BodyWithClientCredentialsGrant<SCOPE>),
ResourceOwnerPasswordCredentialsGrant(BodyWithResourceOwnerPasswordCredentialsGrant<SCOPE>),
JwtAuthorizationGrant(BodyWithJwtAuthorizationGrant<SCOPE>),
}
Variants§
AuthorizationCodeGrant(BodyWithAuthorizationCodeGrant)
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3
DeviceAuthorizationGrant(BodyWithDeviceAuthorizationGrant)
https://datatracker.ietf.org/doc/html/rfc8628#section-3.4
ClientCredentialsGrant(BodyWithClientCredentialsGrant<SCOPE>)
https://datatracker.ietf.org/doc/html/rfc6749#section-4.4
ResourceOwnerPasswordCredentialsGrant(BodyWithResourceOwnerPasswordCredentialsGrant<SCOPE>)
JwtAuthorizationGrant(BodyWithJwtAuthorizationGrant<SCOPE>)
https://datatracker.ietf.org/doc/html/rfc7523#section-2.1
Trait Implementations§
Source§impl<'de, SCOPE> Deserialize<'de> for Body<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
impl<'de, SCOPE> Deserialize<'de> for Body<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
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
Auto Trait Implementations§
impl<SCOPE> Freeze for Body<SCOPE>
impl<SCOPE> RefUnwindSafe for Body<SCOPE>where
SCOPE: RefUnwindSafe,
impl<SCOPE> Send for Body<SCOPE>where
SCOPE: Send,
impl<SCOPE> Sync for Body<SCOPE>where
SCOPE: Sync,
impl<SCOPE> Unpin for Body<SCOPE>where
SCOPE: Unpin,
impl<SCOPE> UnwindSafe for Body<SCOPE>where
SCOPE: UnwindSafe,
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