pub struct LandingConfig {
pub auto_commit: bool,
pub clear_stashes: bool,
pub prune_refs: bool,
pub generate_handoff: bool,
}Expand description
Configuration for the landing handler.
Fields§
§auto_commit: boolWhether to auto-commit uncommitted changes.
clear_stashes: boolWhether to clear git stashes.
prune_refs: boolWhether to prune remote refs.
generate_handoff: boolWhether to generate the handoff file.
Trait Implementations§
Source§impl Clone for LandingConfig
impl Clone for LandingConfig
Source§fn clone(&self) -> LandingConfig
fn clone(&self) -> LandingConfig
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 moreSource§impl Debug for LandingConfig
impl Debug for LandingConfig
Auto Trait Implementations§
impl Freeze for LandingConfig
impl RefUnwindSafe for LandingConfig
impl Send for LandingConfig
impl Sync for LandingConfig
impl Unpin for LandingConfig
impl UnsafeUnpin for LandingConfig
impl UnwindSafe for LandingConfig
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