pub struct AuthorizationGrantIssuer { /* private fields */ }Implementations§
Source§impl AuthorizationGrantIssuer
impl AuthorizationGrantIssuer
pub const fn direct(principal: AuthenticatedPrincipal) -> Self
pub const fn delegated( principal: AuthenticatedPrincipal, parent_grant_id: AuthorizationGrantId, ) -> Self
pub const fn principal(&self) -> &AuthenticatedPrincipal
pub fn principal_id(&self) -> &PrincipalId
pub const fn parent_grant_id(&self) -> Option<&AuthorizationGrantId>
Trait Implementations§
Source§impl Clone for AuthorizationGrantIssuer
impl Clone for AuthorizationGrantIssuer
Source§impl Debug for AuthorizationGrantIssuer
impl Debug for AuthorizationGrantIssuer
Source§impl<'de> Deserialize<'de> for AuthorizationGrantIssuer
impl<'de> Deserialize<'de> for AuthorizationGrantIssuer
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 AuthorizationGrantIssuer
Source§impl PartialEq for AuthorizationGrantIssuer
impl PartialEq for AuthorizationGrantIssuer
Source§impl Serialize for AuthorizationGrantIssuer
impl Serialize for AuthorizationGrantIssuer
impl StructuralPartialEq for AuthorizationGrantIssuer
Auto Trait Implementations§
impl Freeze for AuthorizationGrantIssuer
impl RefUnwindSafe for AuthorizationGrantIssuer
impl Send for AuthorizationGrantIssuer
impl Sync for AuthorizationGrantIssuer
impl Unpin for AuthorizationGrantIssuer
impl UnsafeUnpin for AuthorizationGrantIssuer
impl UnwindSafe for AuthorizationGrantIssuer
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