pub struct WrappedKey {
pub ciphertext: Vec<u8>,
pub nonce: [u8; 12],
pub key_id: String,
pub algorithm: String,
pub wrapped_at: DateTime<Utc>,
}Expand description
Wrapped key structure
Fields§
§ciphertext: Vec<u8>§nonce: [u8; 12]§key_id: String§algorithm: String§wrapped_at: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl Clone for WrappedKey
impl Clone for WrappedKey
Source§fn clone(&self) -> WrappedKey
fn clone(&self) -> WrappedKey
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<'de> Deserialize<'de> for WrappedKey
impl<'de> Deserialize<'de> for WrappedKey
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 WrappedKey
impl RefUnwindSafe for WrappedKey
impl Send for WrappedKey
impl Sync for WrappedKey
impl Unpin for WrappedKey
impl UnwindSafe for WrappedKey
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