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