pub struct InstalledRoleEvidence { /* private fields */ }Expand description
Exact observed role identity after role reconciliation.
Implementations§
Source§impl InstalledRoleEvidence
impl InstalledRoleEvidence
Sourcepub const fn new(
name: InstallationSymbol,
role_hash: ApplicationRoleHash,
) -> Self
pub const fn new( name: InstallationSymbol, role_hash: ApplicationRoleHash, ) -> Self
Creates exact role evidence.
Sourcepub const fn name(&self) -> &InstallationSymbol
pub const fn name(&self) -> &InstallationSymbol
Symbolic role name.
Sourcepub const fn role_hash(&self) -> ApplicationRoleHash
pub const fn role_hash(&self) -> ApplicationRoleHash
Exact installed role identity.
Trait Implementations§
Source§impl Clone for InstalledRoleEvidence
impl Clone for InstalledRoleEvidence
Source§impl Debug for InstalledRoleEvidence
impl Debug for InstalledRoleEvidence
impl Eq for InstalledRoleEvidence
Source§impl Ord for InstalledRoleEvidence
impl Ord for InstalledRoleEvidence
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InstalledRoleEvidence
impl PartialEq for InstalledRoleEvidence
Source§impl PartialOrd for InstalledRoleEvidence
impl PartialOrd for InstalledRoleEvidence
impl StructuralPartialEq for InstalledRoleEvidence
Auto Trait Implementations§
impl Freeze for InstalledRoleEvidence
impl RefUnwindSafe for InstalledRoleEvidence
impl Send for InstalledRoleEvidence
impl Sync for InstalledRoleEvidence
impl Unpin for InstalledRoleEvidence
impl UnsafeUnpin for InstalledRoleEvidence
impl UnwindSafe for InstalledRoleEvidence
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