pub enum SecureValue {
Static(String),
Env(String),
}
Expand description
Represents a value that may contain sensitive information.
Secure values can be either static strings or environment variables.
Variants§
Trait Implementations§
Source§impl Clone for SecureValue
impl Clone for SecureValue
Source§fn clone(&self) -> SecureValue
fn clone(&self) -> SecureValue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SecureValue
impl RefUnwindSafe for SecureValue
impl Send for SecureValue
impl Sync for SecureValue
impl Unpin for SecureValue
impl UnwindSafe for SecureValue
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