pub struct RotateSecretResponse {
pub name: String,
pub previous_version: Option<u32>,
pub new_version: u32,
}Expand description
Response returned by the rotate endpoint.
Fields§
§name: StringThe secret name.
previous_version: Option<u32>Version prior to rotation. None if the secret did not exist (won’t
happen today — rotate rejects missing secrets — but preserved for
forward compatibility).
new_version: u32Version after rotation.
Trait Implementations§
Source§impl ComposeSchema for RotateSecretResponse
impl ComposeSchema for RotateSecretResponse
Source§impl Debug for RotateSecretResponse
impl Debug for RotateSecretResponse
Source§impl<'de> Deserialize<'de> for RotateSecretResponse
impl<'de> Deserialize<'de> for RotateSecretResponse
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 Serialize for RotateSecretResponse
impl Serialize for RotateSecretResponse
Auto Trait Implementations§
impl Freeze for RotateSecretResponse
impl RefUnwindSafe for RotateSecretResponse
impl Send for RotateSecretResponse
impl Sync for RotateSecretResponse
impl Unpin for RotateSecretResponse
impl UnsafeUnpin for RotateSecretResponse
impl UnwindSafe for RotateSecretResponse
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