pub struct SecretMetadataResponse {
pub name: String,
pub created_at: i64,
pub updated_at: i64,
pub version: u32,
pub value: Option<String>,
}Expand description
Response containing secret metadata. Never includes the value unless
the caller is on the explicit ?reveal=true admin path, in which case
value is populated.
Fields§
§name: StringThe name/identifier of the secret.
created_at: i64Unix timestamp when the secret was created.
updated_at: i64Unix timestamp when the secret was last updated.
version: u32Version number of the secret (incremented on each update).
value: Option<String>Plaintext value — populated only on ?reveal=true admin reads.
Trait Implementations§
Source§impl ComposeSchema for SecretMetadataResponse
impl ComposeSchema for SecretMetadataResponse
Source§impl Debug for SecretMetadataResponse
impl Debug for SecretMetadataResponse
Source§impl<'de> Deserialize<'de> for SecretMetadataResponse
impl<'de> Deserialize<'de> for SecretMetadataResponse
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 SecretMetadataResponse
impl Serialize for SecretMetadataResponse
Auto Trait Implementations§
impl Freeze for SecretMetadataResponse
impl RefUnwindSafe for SecretMetadataResponse
impl Send for SecretMetadataResponse
impl Sync for SecretMetadataResponse
impl Unpin for SecretMetadataResponse
impl UnsafeUnpin for SecretMetadataResponse
impl UnwindSafe for SecretMetadataResponse
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