pub struct SecretSpecRegistry { /* private fields */ }Implementations§
Source§impl SecretSpecRegistry
impl SecretSpecRegistry
pub fn register(&mut self, spec: SecretSpec)
pub fn validate_value(&self, name: &str, value: &str) -> Result<()>
pub fn to_markdown(&self) -> String
Trait Implementations§
Source§impl Default for SecretSpecRegistry
impl Default for SecretSpecRegistry
Source§fn default() -> SecretSpecRegistry
fn default() -> SecretSpecRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SecretSpecRegistry
impl RefUnwindSafe for SecretSpecRegistry
impl Send for SecretSpecRegistry
impl Sync for SecretSpecRegistry
impl Unpin for SecretSpecRegistry
impl UnwindSafe for SecretSpecRegistry
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