pub struct Extraction {
pub server: String,
pub field: String,
pub alias: String,
pub reason: &'static str,
pub suggested_ref: String,
}Expand description
One plaintext value routed to secret extraction. The value is not part
of it: the store gets a ${secret:<alias>} reference in its place.
Fields§
§server: String§field: Stringenv.NAME, headers.NAME, args[N] (1-based) or url.
alias: String§reason: &'static strWhy it counts as sensitive (Reason::as_str).
suggested_ref: StringThe default destination (keyring://surjection/<alias>); the wizard
also offers 1Password or an environment variable.
Trait Implementations§
Source§impl Clone for Extraction
impl Clone for Extraction
Source§impl Debug for Extraction
impl Debug for Extraction
impl Eq for Extraction
Source§impl PartialEq for Extraction
impl PartialEq for Extraction
Source§impl Serialize for Extraction
impl Serialize for Extraction
impl StructuralPartialEq for Extraction
Auto Trait Implementations§
impl Forget for Extraction
impl Freeze for Extraction
impl Move for Extraction
impl RefUnwindSafe for Extraction
impl Send for Extraction
impl Sync for Extractionwhere
RawVecInner: Sync,
impl Unpin for Extraction
impl UnsafeUnpin for Extraction
impl UnwindSafe for Extraction
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.