pub struct SecretEntry {
pub value: String,
pub metadata: SecretMetadata,
}Expand description
A single secret entry in the vault.
Fields§
§value: StringThe secret value (plaintext once vault is decrypted).
metadata: SecretMetadataMetadata about this secret.
Implementations§
Trait Implementations§
Source§impl Clone for SecretEntry
impl Clone for SecretEntry
Source§fn clone(&self) -> SecretEntry
fn clone(&self) -> SecretEntry
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 Debug for SecretEntry
impl Debug for SecretEntry
Source§impl<'de> Deserialize<'de> for SecretEntry
impl<'de> Deserialize<'de> for SecretEntry
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 Drop for SecretEntry
impl Drop for SecretEntry
Source§impl Serialize for SecretEntry
impl Serialize for SecretEntry
Auto Trait Implementations§
impl Freeze for SecretEntry
impl RefUnwindSafe for SecretEntry
impl Send for SecretEntry
impl Sync for SecretEntry
impl Unpin for SecretEntry
impl UnsafeUnpin for SecretEntry
impl UnwindSafe for SecretEntry
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