pub struct GeneratedKey {
pub key_material: ViturKeyMaterial,
pub tag: Vec<u8>,
}
Expand description
Represents generated data key material which is used by the client to derive data keys with its own key material.
Returned in the response to a GenerateKeyRequest.
Fields§
§key_material: ViturKeyMaterial
§tag: Vec<u8>
Trait Implementations§
Source§impl Debug for GeneratedKey
impl Debug for GeneratedKey
Source§impl<'de> Deserialize<'de> for GeneratedKey
impl<'de> Deserialize<'de> for GeneratedKey
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 GeneratedKey
impl RefUnwindSafe for GeneratedKey
impl Send for GeneratedKey
impl Sync for GeneratedKey
impl Unpin for GeneratedKey
impl UnwindSafe for GeneratedKey
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