pub struct RoleAuthoritySet { /* private fields */ }Expand description
Independently canonical bounded authority for one application role.
Implementations§
Source§impl RoleAuthoritySet
impl RoleAuthoritySet
Sourcepub fn new(
operations: Vec<RoleOperation>,
secret_outputs: Vec<QuerySecretOutput>,
) -> Result<RoleAuthoritySet, InstallationPlanError>
pub fn new( operations: Vec<RoleOperation>, secret_outputs: Vec<QuerySecretOutput>, ) -> Result<RoleAuthoritySet, InstallationPlanError>
Validates and canonicalizes one complete symbolic authority set.
Sourcepub fn operations(&self) -> &[RoleOperation]
pub fn operations(&self) -> &[RoleOperation]
Canonical operation atoms.
Sourcepub fn secret_outputs(&self) -> &[QuerySecretOutput]
pub fn secret_outputs(&self) -> &[QuerySecretOutput]
Canonical named-query secret-output atoms.
Sourcepub fn atoms(&self) -> Vec<RoleAuthorityAtom>
pub fn atoms(&self) -> Vec<RoleAuthorityAtom>
Complete canonical closed authority vocabulary.
Trait Implementations§
Source§impl Clone for RoleAuthoritySet
impl Clone for RoleAuthoritySet
Source§fn clone(&self) -> RoleAuthoritySet
fn clone(&self) -> RoleAuthoritySet
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 RoleAuthoritySet
impl Debug for RoleAuthoritySet
impl Eq for RoleAuthoritySet
Source§impl PartialEq for RoleAuthoritySet
impl PartialEq for RoleAuthoritySet
impl StructuralPartialEq for RoleAuthoritySet
Auto Trait Implementations§
impl Freeze for RoleAuthoritySet
impl RefUnwindSafe for RoleAuthoritySet
impl Send for RoleAuthoritySet
impl Sync for RoleAuthoritySet
impl Unpin for RoleAuthoritySet
impl UnsafeUnpin for RoleAuthoritySet
impl UnwindSafe for RoleAuthoritySet
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