pub struct EncryptArgs {
pub protocol_id: Protocol,
pub key_id: String,
pub counterparty: Counterparty,
pub plaintext: Vec<u8>,
pub privileged: bool,
pub privileged_reason: Option<String>,
pub seek_permission: Option<bool>,
}Expand description
Arguments for encryption.
Fields§
§protocol_id: Protocol§key_id: String§counterparty: Counterparty§plaintext: Vec<u8>§privileged: bool§privileged_reason: Option<String>§seek_permission: Option<bool>Trait Implementations§
Source§impl Clone for EncryptArgs
impl Clone for EncryptArgs
Source§fn clone(&self) -> EncryptArgs
fn clone(&self) -> EncryptArgs
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 moreAuto Trait Implementations§
impl Freeze for EncryptArgs
impl !RefUnwindSafe for EncryptArgs
impl Send for EncryptArgs
impl Sync for EncryptArgs
impl Unpin for EncryptArgs
impl UnsafeUnpin for EncryptArgs
impl !UnwindSafe for EncryptArgs
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