pub struct EncryptionKey { /* private fields */ }Expand description
Implementations§
Source§impl EncryptionKey
impl EncryptionKey
Sourcepub fn new<M>(method: M) -> Selfwhere
M: ToString,
pub fn new<M>(method: M) -> Selfwhere
M: ToString,
Create a new method-only encryption key field.
Sourcepub fn new_with_key<M, K>(method: M, key: K) -> Self
pub fn new_with_key<M, K>(method: M, key: K) -> Self
Create a new encryption key field.
Trait Implementations§
Source§impl Clone for EncryptionKey
impl Clone for EncryptionKey
Source§fn clone(&self) -> EncryptionKey
fn clone(&self) -> EncryptionKey
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 Display for EncryptionKey
impl Display for EncryptionKey
Auto Trait Implementations§
impl Freeze for EncryptionKey
impl RefUnwindSafe for EncryptionKey
impl Send for EncryptionKey
impl Sync for EncryptionKey
impl Unpin for EncryptionKey
impl UnwindSafe for EncryptionKey
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