pub struct TokenAdminRevocation {
pub authorization_id: Option<String>,
}
Expand description
A request to revoke a particular delegated authorization.
Fields§
The authorization ID of the OAuth authorization to revoke.
Implementations§
Trait Implementations§
source§impl Clone for TokenAdminRevocation
impl Clone for TokenAdminRevocation
source§fn clone(&self) -> TokenAdminRevocation
fn clone(&self) -> TokenAdminRevocation
Returns a copy 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 TokenAdminRevocation
impl Debug for TokenAdminRevocation
source§impl Default for TokenAdminRevocation
impl Default for TokenAdminRevocation
source§fn default() -> TokenAdminRevocation
fn default() -> TokenAdminRevocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TokenAdminRevocation
impl<'de> Deserialize<'de> for TokenAdminRevocation
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 PartialEq for TokenAdminRevocation
impl PartialEq for TokenAdminRevocation
source§fn eq(&self, other: &TokenAdminRevocation) -> bool
fn eq(&self, other: &TokenAdminRevocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TokenAdminRevocation
impl Serialize for TokenAdminRevocation
impl StructuralPartialEq for TokenAdminRevocation
Auto Trait Implementations§
impl RefUnwindSafe for TokenAdminRevocation
impl Send for TokenAdminRevocation
impl Sync for TokenAdminRevocation
impl Unpin for TokenAdminRevocation
impl UnwindSafe for TokenAdminRevocation
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