pub struct ObservedInstallationRole { /* private fields */ }Expand description
Existing role state exposed symbolically for a bounded authority diff.
Implementations§
Source§impl ObservedInstallationRole
impl ObservedInstallationRole
Sourcepub fn new(
name: InstallationSymbol,
role_hash: ApplicationRoleHash,
operations: Vec<RoleOperation>,
) -> Result<Self, InstallationPlanError>
pub fn new( name: InstallationSymbol, role_hash: ApplicationRoleHash, operations: Vec<RoleOperation>, ) -> Result<Self, InstallationPlanError>
Creates one sorted exact role observation.
Creates one exact role observation over the complete closed authority vocabulary.
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 current role identity.
Sourcepub fn operations(&self) -> &[RoleOperation]
pub fn operations(&self) -> &[RoleOperation]
Current symbolic operation surface.
Sourcepub fn secret_outputs(&self) -> &[QuerySecretOutput]
pub fn secret_outputs(&self) -> &[QuerySecretOutput]
Current symbolic named-query secret-output surface.
Complete current symbolic authority.
Trait Implementations§
Source§impl Clone for ObservedInstallationRole
impl Clone for ObservedInstallationRole
Source§impl Debug for ObservedInstallationRole
impl Debug for ObservedInstallationRole
impl Eq for ObservedInstallationRole
Source§impl PartialEq for ObservedInstallationRole
impl PartialEq for ObservedInstallationRole
impl StructuralPartialEq for ObservedInstallationRole
Auto Trait Implementations§
impl Freeze for ObservedInstallationRole
impl RefUnwindSafe for ObservedInstallationRole
impl Send for ObservedInstallationRole
impl Sync for ObservedInstallationRole
impl Unpin for ObservedInstallationRole
impl UnsafeUnpin for ObservedInstallationRole
impl UnwindSafe for ObservedInstallationRole
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