pub struct RevocationRequest {
pub token: String,
pub token_type_hint: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
}Available on non-WebAssembly only.
Expand description
OAuth 2.0 revocation request.
Fields§
§token: StringToken to revoke.
token_type_hint: Option<String>Token type hint.
client_id: Option<String>Client ID.
client_secret: Option<String>Client secret.
Trait Implementations§
Source§impl Clone for RevocationRequest
impl Clone for RevocationRequest
Source§fn clone(&self) -> RevocationRequest
fn clone(&self) -> RevocationRequest
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 RevocationRequest
impl Debug for RevocationRequest
Source§impl<'de> Deserialize<'de> for RevocationRequest
impl<'de> Deserialize<'de> for RevocationRequest
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 Freeze for RevocationRequest
impl RefUnwindSafe for RevocationRequest
impl Send for RevocationRequest
impl Sync for RevocationRequest
impl Unpin for RevocationRequest
impl UnwindSafe for RevocationRequest
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