pub struct SecretProviderId(/* private fields */);Expand description
Stable identifier for an explicitly registered secret provider.
Implementations§
Source§impl SecretProviderId
impl SecretProviderId
Sourcepub fn new(
value: impl Into<CheetahString>,
) -> Result<Self, SecurityContractViolation>
pub fn new( value: impl Into<CheetahString>, ) -> Result<Self, SecurityContractViolation>
Validates and creates a provider identifier.
§Errors
Returns SecurityContractViolation::InvalidIdentifier when the value
violates the closed identifier grammar.
Trait Implementations§
Source§impl Clone for SecretProviderId
impl Clone for SecretProviderId
Source§impl Debug for SecretProviderId
impl Debug for SecretProviderId
impl Eq for SecretProviderId
Source§impl Hash for SecretProviderId
impl Hash for SecretProviderId
Source§impl Ord for SecretProviderId
impl Ord for SecretProviderId
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 SecretProviderId
impl PartialEq for SecretProviderId
Source§impl PartialOrd for SecretProviderId
impl PartialOrd for SecretProviderId
impl StructuralPartialEq for SecretProviderId
Auto Trait Implementations§
impl Freeze for SecretProviderId
impl RefUnwindSafe for SecretProviderId
impl Send for SecretProviderId
impl Sync for SecretProviderId
impl Unpin for SecretProviderId
impl UnsafeUnpin for SecretProviderId
impl UnwindSafe for SecretProviderId
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