pub struct EncryptionKey<'a> {
pub id: &'a str,
pub bytes: &'a [u8; 32],
}Expand description
Borrowed key material returned by an EncryptionKeys provider.
Fields§
§id: &'a str§bytes: &'a [u8; 32]Auto Trait Implementations§
impl<'a> Freeze for EncryptionKey<'a>
impl<'a> RefUnwindSafe for EncryptionKey<'a>
impl<'a> Send for EncryptionKey<'a>
impl<'a> Sync for EncryptionKey<'a>
impl<'a> Unpin for EncryptionKey<'a>
impl<'a> UnsafeUnpin for EncryptionKey<'a>
impl<'a> UnwindSafe for EncryptionKey<'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