pub struct RequestCaRotationPayload {
pub reason: String,
}Expand description
Request from an external component (e.g. scheduler) for the controller to perform CA certificate rotation.
Published via NATS to uptrakit.events.controller subject. Handled by
triggering ca_rotation_trigger.notify_one() on the receiving controller.
Fields§
§reason: StringHuman-readable reason for the rotation request.
Trait Implementations§
Source§impl Clone for RequestCaRotationPayload
impl Clone for RequestCaRotationPayload
Source§fn clone(&self) -> RequestCaRotationPayload
fn clone(&self) -> RequestCaRotationPayload
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 RequestCaRotationPayload
impl Debug for RequestCaRotationPayload
Source§impl<'de> Deserialize<'de> for RequestCaRotationPayload
impl<'de> Deserialize<'de> for RequestCaRotationPayload
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 RequestCaRotationPayload
Source§impl PartialEq for RequestCaRotationPayload
impl PartialEq for RequestCaRotationPayload
Source§impl Serialize for RequestCaRotationPayload
impl Serialize for RequestCaRotationPayload
impl StructuralPartialEq for RequestCaRotationPayload
Source§impl WireValidate for RequestCaRotationPayload
impl WireValidate for RequestCaRotationPayload
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for RequestCaRotationPayload
impl RefUnwindSafe for RequestCaRotationPayload
impl Send for RequestCaRotationPayload
impl Sync for RequestCaRotationPayload
impl Unpin for RequestCaRotationPayload
impl UnsafeUnpin for RequestCaRotationPayload
impl UnwindSafe for RequestCaRotationPayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.