pub struct ManualSecret {
pub field: &'static str,
pub key: String,
pub secret: String,
pub conflicts_with: Option<String>,
}Expand description
A value the client cannot read from the environment: the user pastes it into the entry. The value is never written by Surjection.
Fields§
§field: &'static strenv or headers.
key: StringThe env key or header name.
secret: StringThe alias, or the reference when no alias names it.
conflicts_with: Option<String>The variable name this value would have used, when an earlier entry already uses that name for a different secret.
Trait Implementations§
Source§impl Clone for ManualSecret
impl Clone for ManualSecret
Source§impl Debug for ManualSecret
impl Debug for ManualSecret
impl Eq for ManualSecret
Source§impl PartialEq for ManualSecret
impl PartialEq for ManualSecret
Source§impl Serialize for ManualSecret
impl Serialize for ManualSecret
impl StructuralPartialEq for ManualSecret
Auto Trait Implementations§
impl Forget for ManualSecret
impl Freeze for ManualSecret
impl Move for ManualSecret
impl RefUnwindSafe for ManualSecret
impl Send for ManualSecret
impl Sync for ManualSecretwhere
RawVecInner: Sync,
impl Unpin for ManualSecret
impl UnsafeUnpin for ManualSecret
impl UnwindSafe for ManualSecret
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.