#[repr(C)]pub struct C4EncryptionKey {
pub algorithm: C4EncryptionAlgorithm,
pub bytes: [u8; 32],
}Expand description
Encryption key specified in a C4DatabaseConfig.
Fields§
§algorithm: C4EncryptionAlgorithm§bytes: [u8; 32]Trait Implementations§
Source§impl Clone for C4EncryptionKey
impl Clone for C4EncryptionKey
Source§fn clone(&self) -> C4EncryptionKey
fn clone(&self) -> C4EncryptionKey
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 Debug for C4EncryptionKey
impl Debug for C4EncryptionKey
impl Copy for C4EncryptionKey
Auto Trait Implementations§
impl Freeze for C4EncryptionKey
impl RefUnwindSafe for C4EncryptionKey
impl Send for C4EncryptionKey
impl Sync for C4EncryptionKey
impl Unpin for C4EncryptionKey
impl UnwindSafe for C4EncryptionKey
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