pub struct KeyRecord {
pub key_id: String,
pub quorum_id: String,
pub state: KeyState,
pub created_at: DateTime<Utc>,
pub rotated_at: Option<DateTime<Utc>>,
pub destroyed_at: Option<DateTime<Utc>>,
pub version: u32,
}Fields§
§key_id: String§quorum_id: String§state: KeyState§created_at: DateTime<Utc>§rotated_at: Option<DateTime<Utc>>§destroyed_at: Option<DateTime<Utc>>§version: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyRecord
impl<'de> Deserialize<'de> for KeyRecord
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 KeyRecord
impl RefUnwindSafe for KeyRecord
impl Send for KeyRecord
impl Sync for KeyRecord
impl Unpin for KeyRecord
impl UnsafeUnpin for KeyRecord
impl UnwindSafe for KeyRecord
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