pub struct Request {
pub paths: Vec<String>,
pub message: String,
pub trailers: Vec<String>,
pub conventional: Policy,
pub types: Vec<String>,
pub dry_run: bool,
pub log_dir: PathBuf,
}Fields§
§paths: Vec<String>§message: String§trailers: Vec<String>Key: value lines to append, already expanded.
conventional: Policy§types: Vec<String>The allowed conventional-commit types.
dry_run: bool§log_dir: PathBufWhere a failed commit’s full output is kept.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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