pub enum SecretState {
Elsewhere(SecretSource),
Stored {
info: SecretInfo,
label: String,
replaces_deployment: bool,
},
}Expand description
One secret: stored here with its details, or from the deployment or nowhere.
Variants§
Elsewhere(SecretSource)
Stored
Trait Implementations§
Source§impl Debug for SecretState
impl Debug for SecretState
Source§impl<'de> Deserialize<'de> for SecretState
impl<'de> Deserialize<'de> for SecretState
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
Auto Trait Implementations§
impl Forget for SecretState
impl Freeze for SecretState
impl RefUnwindSafe for SecretState
impl Send for SecretState
impl Sync for SecretState
impl Unpin for SecretState
impl UnsafeUnpin for SecretState
impl UnwindSafe for SecretState
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