pub struct SecretHistory {
pub id: String,
pub secret_id: String,
pub key: String,
pub version: i32,
pub changed_by: Option<String>,
pub change_type: String,
pub created_at: DateTime<Utc>,
}Expand description
Historical version of a secret.
Fields§
§id: StringHistory entry ID.
secret_id: StringSecret ID.
key: StringSecret key.
version: i32Version number.
changed_by: Option<String>User ID who made the change.
change_type: StringType of change.
created_at: DateTime<Utc>When the change was made.
Trait Implementations§
Source§impl Clone for SecretHistory
impl Clone for SecretHistory
Source§fn clone(&self) -> SecretHistory
fn clone(&self) -> SecretHistory
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 SecretHistory
impl Debug for SecretHistory
Source§impl<'de> Deserialize<'de> for SecretHistory
impl<'de> Deserialize<'de> for SecretHistory
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
Auto Trait Implementations§
impl Freeze for SecretHistory
impl RefUnwindSafe for SecretHistory
impl Send for SecretHistory
impl Sync for SecretHistory
impl Unpin for SecretHistory
impl UnwindSafe for SecretHistory
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