Enum oauth2_core::access_token_request::Body [−][src]
pub enum Body<SCOPE> where
SCOPE: Scope, {
AuthorizationCodeGrant(BodyWithAuthorizationCodeGrant),
DeviceAuthorizationGrant(BodyWithDeviceAuthorizationGrant),
ClientCredentialsGrant(BodyWithClientCredentialsGrant<SCOPE>),
ResourceOwnerPasswordCredentialsGrant(BodyWithResourceOwnerPasswordCredentialsGrant<SCOPE>),
}Variants
AuthorizationCodeGrant(BodyWithAuthorizationCodeGrant)
Tuple Fields
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3
DeviceAuthorizationGrant(BodyWithDeviceAuthorizationGrant)
Tuple Fields
https://datatracker.ietf.org/doc/html/rfc8628#section-3.4
ClientCredentialsGrant(BodyWithClientCredentialsGrant<SCOPE>)
Tuple Fields
0: BodyWithClientCredentialsGrant<SCOPE>https://datatracker.ietf.org/doc/html/rfc6749#section-4.4
ResourceOwnerPasswordCredentialsGrant(BodyWithResourceOwnerPasswordCredentialsGrant<SCOPE>)
Tuple Fields
Trait Implementations
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> RefUnwindSafe for Body<SCOPE> where
SCOPE: RefUnwindSafe,
impl<SCOPE> UnwindSafe for Body<SCOPE> where
SCOPE: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more