pub struct RotateSecretRequest {
pub value: String,
pub node_affinity: Option<NodeAffinity>,
}Expand description
Request body for secret rotation.
Fields§
§value: StringThe new secret value (will be encrypted at rest).
node_affinity: Option<NodeAffinity>Optional per-secret node affinity update. None here means “leave
existing affinity unchanged”; to clear affinity explicitly, pass an
empty selector via a separate update endpoint (Phase 2).
Trait Implementations§
Source§impl ComposeSchema for RotateSecretRequest
impl ComposeSchema for RotateSecretRequest
Source§impl Debug for RotateSecretRequest
impl Debug for RotateSecretRequest
Source§impl<'de> Deserialize<'de> for RotateSecretRequest
impl<'de> Deserialize<'de> for RotateSecretRequest
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 RotateSecretRequest
impl RefUnwindSafe for RotateSecretRequest
impl Send for RotateSecretRequest
impl Sync for RotateSecretRequest
impl Unpin for RotateSecretRequest
impl UnsafeUnpin for RotateSecretRequest
impl UnwindSafe for RotateSecretRequest
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