pub struct SecretCaptured {
pub reference: SecretRef,
pub origin: String,
}Expand description
secret_captured: a credential entered the vault at this place.
The place is a SecretRef, so a line whose ref is outside the
grammar does not read as a capture at all: every reader meets that
as one refusal from Payload::read
rather than each deciding for itself what such a line names.
Fields§
§reference: SecretRefThe vault place the credential is stored under.
origin: StringHow it arrived, in the writer’s words: enrolment or pasted.
An older build also wrote <provider>-subscription and
<provider>-renewal. Free text, because those spellings carry a
provider name.
Trait Implementations§
Source§impl Clone for SecretCaptured
impl Clone for SecretCaptured
Source§impl Debug for SecretCaptured
impl Debug for SecretCaptured
Source§impl<'de> Deserialize<'de> for SecretCaptured
impl<'de> Deserialize<'de> for SecretCaptured
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SecretCaptured
Source§impl PartialEq for SecretCaptured
impl PartialEq for SecretCaptured
Source§impl Serialize for SecretCaptured
impl Serialize for SecretCaptured
impl StructuralPartialEq for SecretCaptured
Auto Trait Implementations§
impl Freeze for SecretCaptured
impl RefUnwindSafe for SecretCaptured
impl Send for SecretCaptured
impl Sync for SecretCaptured
impl Unpin for SecretCaptured
impl UnsafeUnpin for SecretCaptured
impl UnwindSafe for SecretCaptured
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