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