pub struct ControlIdentity { /* private fields */ }Expand description
A stable, non-secret audit identity chosen by the deployment.
Implementations§
Source§impl ControlIdentity
impl ControlIdentity
Sourcepub fn new(name: impl Into<String>, role: Role) -> Result<Self, SecurityError>
pub fn new(name: impl Into<String>, role: Role) -> Result<Self, SecurityError>
An identity named name holding role.
§Errors
Returns a SecurityError unless name is 1 to 128 ASCII
characters, each alphanumeric or one of @ . _ : / -.
Trait Implementations§
Source§impl Clone for ControlIdentity
impl Clone for ControlIdentity
Source§impl Debug for ControlIdentity
impl Debug for ControlIdentity
impl Eq for ControlIdentity
Source§impl PartialEq for ControlIdentity
impl PartialEq for ControlIdentity
impl StructuralPartialEq for ControlIdentity
Auto Trait Implementations§
impl Freeze for ControlIdentity
impl RefUnwindSafe for ControlIdentity
impl Send for ControlIdentity
impl Sync for ControlIdentity
impl Unpin for ControlIdentity
impl UnsafeUnpin for ControlIdentity
impl UnwindSafe for ControlIdentity
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