#[non_exhaustive]pub struct StashPush {
pub include_untracked: bool,
}Expand description
Options for GitApi::stash_push (git stash push).
#[non_exhaustive], so build it through StashPush::new and the chained
include_untracked setter rather than a bare
bool (stash_push(dir, true) doesn’t say what true selects).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_untracked: boolAlso stash untracked files (--include-untracked).
Implementations§
Trait Implementations§
impl Eq for StashPush
impl StructuralPartialEq for StashPush
Auto Trait Implementations§
impl Freeze for StashPush
impl RefUnwindSafe for StashPush
impl Send for StashPush
impl Sync for StashPush
impl Unpin for StashPush
impl UnsafeUnpin for StashPush
impl UnwindSafe for StashPush
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