pub struct EncryptionOptions {
pub content_encryption: ContentEncryption,
pub content_type: Option<String>,
pub key_id: Option<String>,
}Expand description
Options for JWE encryption.
Fields§
§content_encryption: ContentEncryptionContent encryption algorithm (default: A256GCM)
content_type: Option<String>Content type header
key_id: Option<String>Key ID
Trait Implementations§
Source§impl Clone for EncryptionOptions
impl Clone for EncryptionOptions
Source§fn clone(&self) -> EncryptionOptions
fn clone(&self) -> EncryptionOptions
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 EncryptionOptions
impl Debug for EncryptionOptions
Source§impl Default for EncryptionOptions
impl Default for EncryptionOptions
Source§fn default() -> EncryptionOptions
fn default() -> EncryptionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EncryptionOptions
impl RefUnwindSafe for EncryptionOptions
impl Send for EncryptionOptions
impl Sync for EncryptionOptions
impl Unpin for EncryptionOptions
impl UnwindSafe for EncryptionOptions
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