pub enum M2mClientSecret {
Env {
name: String,
},
Plaintext {
value: Zeroizing<String>,
},
}Expand description
ADR-0051 credential boundary: manual-redaction
Variants§
Trait Implementations§
Source§impl Clone for M2mClientSecret
impl Clone for M2mClientSecret
Source§fn clone(&self) -> M2mClientSecret
fn clone(&self) -> M2mClientSecret
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 moreAuto Trait Implementations§
impl Freeze for M2mClientSecret
impl RefUnwindSafe for M2mClientSecret
impl Send for M2mClientSecret
impl Sync for M2mClientSecret
impl Unpin for M2mClientSecret
impl UnsafeUnpin for M2mClientSecret
impl UnwindSafe for M2mClientSecret
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