pub struct ExportOpts {
pub output_dir: Option<PathBuf>,
pub stdout: bool,
pub cover_letter: bool,
}Fields§
§output_dir: Option<PathBuf>Output directory for the patch files. Default is cwd.
stdout: bool--stdout — write all patches to stdout instead of files.
cover_letter: boolAdd a cover letter (--cover-letter).
Trait Implementations§
Source§impl Debug for ExportOpts
impl Debug for ExportOpts
Source§impl Default for ExportOpts
impl Default for ExportOpts
Source§fn default() -> ExportOpts
fn default() -> ExportOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportOpts
impl RefUnwindSafe for ExportOpts
impl Send for ExportOpts
impl Sync for ExportOpts
impl Unpin for ExportOpts
impl UnsafeUnpin for ExportOpts
impl UnwindSafe for ExportOpts
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