pub struct RotateWaitpointSecretResponse {
pub rotated: u16,
pub failed: Vec<u16>,
pub new_kid: String,
}Expand description
Response body for POST /v1/admin/rotate-waitpoint-secret.
Mirrors ff_server::server::RotateWaitpointSecretResult 1:1.
The server serializes this struct as-is via Json(result).
Fields§
§rotated: u16Count of partitions that accepted the rotation.
failed: Vec<u16>Partition indices where the rotation failed — operator
should investigate. Rotation is idempotent on the same
(new_kid, new_secret_hex) so a retry after the underlying
fault clears converges.
new_kid: StringThe new_kid that was installed as current on every
rotated partition — echoes the request field back for
confirmation.
Trait Implementations§
Source§impl Clone for RotateWaitpointSecretResponse
impl Clone for RotateWaitpointSecretResponse
Source§fn clone(&self) -> RotateWaitpointSecretResponse
fn clone(&self) -> RotateWaitpointSecretResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RotateWaitpointSecretResponse
impl<'de> Deserialize<'de> for RotateWaitpointSecretResponse
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
Source§impl PartialEq for RotateWaitpointSecretResponse
impl PartialEq for RotateWaitpointSecretResponse
Source§fn eq(&self, other: &RotateWaitpointSecretResponse) -> bool
fn eq(&self, other: &RotateWaitpointSecretResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RotateWaitpointSecretResponse
impl StructuralPartialEq for RotateWaitpointSecretResponse
Auto Trait Implementations§
impl Freeze for RotateWaitpointSecretResponse
impl RefUnwindSafe for RotateWaitpointSecretResponse
impl Send for RotateWaitpointSecretResponse
impl Sync for RotateWaitpointSecretResponse
impl Unpin for RotateWaitpointSecretResponse
impl UnsafeUnpin for RotateWaitpointSecretResponse
impl UnwindSafe for RotateWaitpointSecretResponse
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more