pub struct GenerateKeySpec<'a> {
pub iv: KeyId,
pub descriptor: Cow<'a, str>,
pub context: Vec<Context>,
}
Expand description
A specification for generating a data key used in a GenerateKeyRequest.
Fields§
§iv: KeyId
§descriptor: Cow<'a, str>
§context: Vec<Context>
Implementations§
Trait Implementations§
Source§impl<'a> Clone for GenerateKeySpec<'a>
impl<'a> Clone for GenerateKeySpec<'a>
Source§fn clone(&self) -> GenerateKeySpec<'a>
fn clone(&self) -> GenerateKeySpec<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for GenerateKeySpec<'a>
impl<'a> Debug for GenerateKeySpec<'a>
Source§impl<'de, 'a> Deserialize<'de> for GenerateKeySpec<'a>
impl<'de, 'a> Deserialize<'de> for GenerateKeySpec<'a>
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 Dummy<Faker> for GenerateKeySpec<'_>
impl Dummy<Faker> for GenerateKeySpec<'_>
Auto Trait Implementations§
impl<'a> Freeze for GenerateKeySpec<'a>
impl<'a> RefUnwindSafe for GenerateKeySpec<'a>
impl<'a> Send for GenerateKeySpec<'a>
impl<'a> Sync for GenerateKeySpec<'a>
impl<'a> Unpin for GenerateKeySpec<'a>
impl<'a> UnwindSafe for GenerateKeySpec<'a>
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