pub struct AuthorizationRevocation { /* private fields */ }Implementations§
Source§impl AuthorizationRevocation
impl AuthorizationRevocation
pub const fn new( grant_id: AuthorizationGrantId, revoked_by: AuthenticatedPrincipal, reason: AuthorizationRevocationReason, revoked_at: OffsetDateTime, ) -> Self
pub const fn grant_id(&self) -> &AuthorizationGrantId
pub const fn revoked_by(&self) -> &AuthenticatedPrincipal
pub const fn reason(&self) -> &AuthorizationRevocationReason
pub const fn revoked_at(&self) -> OffsetDateTime
Trait Implementations§
Source§impl Clone for AuthorizationRevocation
impl Clone for AuthorizationRevocation
Source§fn clone(&self) -> AuthorizationRevocation
fn clone(&self) -> AuthorizationRevocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthorizationRevocation
impl Debug for AuthorizationRevocation
Source§impl<'de> Deserialize<'de> for AuthorizationRevocation
impl<'de> Deserialize<'de> for AuthorizationRevocation
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
impl Eq for AuthorizationRevocation
Source§impl PartialEq for AuthorizationRevocation
impl PartialEq for AuthorizationRevocation
Source§impl Serialize for AuthorizationRevocation
impl Serialize for AuthorizationRevocation
impl StructuralPartialEq for AuthorizationRevocation
Auto Trait Implementations§
impl Freeze for AuthorizationRevocation
impl RefUnwindSafe for AuthorizationRevocation
impl Send for AuthorizationRevocation
impl Sync for AuthorizationRevocation
impl Unpin for AuthorizationRevocation
impl UnsafeUnpin for AuthorizationRevocation
impl UnwindSafe for AuthorizationRevocation
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