pub struct StatusOptions {
pub start_path: Option<PathBuf>,
pub detail: StatusDetail,
pub worktree_status_options: WorktreeStatusOptions,
}Fields§
§start_path: Option<PathBuf>§detail: StatusDetail§worktree_status_options: WorktreeStatusOptionsImplementations§
Source§impl StatusOptions
impl StatusOptions
pub fn new( detail: StatusDetail, worktree_status_options: WorktreeStatusOptions, ) -> Self
pub fn with_start_path(self, start_path: impl Into<PathBuf>) -> Self
Trait Implementations§
Source§impl Clone for StatusOptions
impl Clone for StatusOptions
Source§fn clone(&self) -> StatusOptions
fn clone(&self) -> StatusOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StatusOptions
impl RefUnwindSafe for StatusOptions
impl Send for StatusOptions
impl Sync for StatusOptions
impl Unpin for StatusOptions
impl UnsafeUnpin for StatusOptions
impl UnwindSafe for StatusOptions
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