pub struct InstallationRoleDiff { /* private fields */ }Expand description
Bounded symbolic authority change for one role.
Implementations§
Source§impl InstallationRoleDiff
impl InstallationRoleDiff
Sourcepub const fn name(&self) -> &InstallationSymbol
pub const fn name(&self) -> &InstallationSymbol
Symbolic role name.
Sourcepub const fn current_hash(&self) -> Option<ApplicationRoleHash>
pub const fn current_hash(&self) -> Option<ApplicationRoleHash>
Current exact role identity, when one exists.
Sourcepub const fn desired_hash(&self) -> ApplicationRoleHash
pub const fn desired_hash(&self) -> ApplicationRoleHash
Desired exact role identity.
Sourcepub fn additions(&self) -> &[RoleAuthorityAtom]
pub fn additions(&self) -> &[RoleAuthorityAtom]
New symbolic authority.
Sourcepub fn removals(&self) -> &[RoleAuthorityAtom]
pub fn removals(&self) -> &[RoleAuthorityAtom]
Removed symbolic authority.
Sourcepub const fn widening_approved(&self) -> bool
pub const fn widening_approved(&self) -> bool
Whether the exact additions carry an accepted approval.
Trait Implementations§
Source§impl Clone for InstallationRoleDiff
impl Clone for InstallationRoleDiff
Source§impl Debug for InstallationRoleDiff
impl Debug for InstallationRoleDiff
impl Eq for InstallationRoleDiff
Source§impl PartialEq for InstallationRoleDiff
impl PartialEq for InstallationRoleDiff
impl StructuralPartialEq for InstallationRoleDiff
Auto Trait Implementations§
impl Freeze for InstallationRoleDiff
impl RefUnwindSafe for InstallationRoleDiff
impl Send for InstallationRoleDiff
impl Sync for InstallationRoleDiff
impl Unpin for InstallationRoleDiff
impl UnsafeUnpin for InstallationRoleDiff
impl UnwindSafe for InstallationRoleDiff
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