pub struct SensitiveInputReference(/* private fields */);Expand description
An external reference to secret material that is intentionally absent from a deployment plan.
Implementations§
Source§impl SensitiveInputReference
impl SensitiveInputReference
Sourcepub fn new(value: impl Into<String>) -> PodmanLensResult<Self>
pub fn new(value: impl Into<String>) -> PodmanLensResult<Self>
Creates a reference to externally managed sensitive material.
Literal and encoded payload prefixes are rejected. Encoding is not protection, and a deployment plan must never embed secret bytes.
§Errors
Returns PLN0040 for a likely embedded payload and PLN0034 for an invalid reference.
Trait Implementations§
Source§impl Clone for SensitiveInputReference
impl Clone for SensitiveInputReference
Source§fn clone(&self) -> SensitiveInputReference
fn clone(&self) -> SensitiveInputReference
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 moreSource§impl Debug for SensitiveInputReference
impl Debug for SensitiveInputReference
impl Eq for SensitiveInputReference
Source§impl PartialEq for SensitiveInputReference
impl PartialEq for SensitiveInputReference
impl StructuralPartialEq for SensitiveInputReference
Auto Trait Implementations§
impl Freeze for SensitiveInputReference
impl RefUnwindSafe for SensitiveInputReference
impl Send for SensitiveInputReference
impl Sync for SensitiveInputReference
impl Unpin for SensitiveInputReference
impl UnsafeUnpin for SensitiveInputReference
impl UnwindSafe for SensitiveInputReference
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