pub enum SecretChange {
Rotate {
name: String,
value: SecretValue,
},
Remove {
name: String,
},
SetAllowedHosts {
name: String,
hosts: Vec<String>,
},
}Expand description
One ordered host secret modification, preserving the JSON operation tags.
Variants§
Rotate
Replace an existing secret’s value.
Remove
Remove a secret; absence is a successful no-op.
SetAllowedHosts
Replace an existing secret’s allowed hosts.
Trait Implementations§
Source§impl Clone for SecretChange
impl Clone for SecretChange
Source§fn clone(&self) -> SecretChange
fn clone(&self) -> SecretChange
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 SecretChange
impl Debug for SecretChange
Source§impl<'de> Deserialize<'de> for SecretChange
impl<'de> Deserialize<'de> for SecretChange
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 Freeze for SecretChange
impl RefUnwindSafe for SecretChange
impl Send for SecretChange
impl Sync for SecretChange
impl Unpin for SecretChange
impl UnsafeUnpin for SecretChange
impl UnwindSafe for SecretChange
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