pub struct DecryptOption {
pub file: Option<File>,
pub file_path: Option<String>,
pub recipient: Option<String>,
pub always_trust: bool,
pub passphrase: Option<String>,
pub key_passphrase: Option<String>,
pub output: Option<String>,
pub extra_args: Option<Vec<String>>,
}
Fields§
§file: Option<File>
§file_path: Option<String>
§recipient: Option<String>
§always_trust: bool
§passphrase: Option<String>
§key_passphrase: Option<String>
§output: Option<String>
§extra_args: Option<Vec<String>>
Implementations§
Source§impl DecryptOption
impl DecryptOption
pub fn default( file: Option<File>, file_path: Option<String>, recipient: String, key_passphrase: Option<String>, output: Option<String>, ) -> DecryptOption
pub fn with_symmetric( file: Option<File>, file_path: Option<String>, passphrase: String, output: Option<String>, ) -> DecryptOption
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecryptOption
impl RefUnwindSafe for DecryptOption
impl Send for DecryptOption
impl Sync for DecryptOption
impl Unpin for DecryptOption
impl UnwindSafe for DecryptOption
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