pub struct CompletionBranch {
pub name: String,
pub timestamp: i64,
pub category: BranchCategory,
}Expand description
Branch information for shell completions
Fields§
§name: StringBranch name (local name for remotes, e.g., “fix” not “origin/fix”)
timestamp: i64Unix timestamp of last commit
category: BranchCategoryCategory for sorting and display
Trait Implementations§
Source§impl Clone for CompletionBranch
impl Clone for CompletionBranch
Source§fn clone(&self) -> CompletionBranch
fn clone(&self) -> CompletionBranch
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 moreAuto Trait Implementations§
impl Freeze for CompletionBranch
impl RefUnwindSafe for CompletionBranch
impl Send for CompletionBranch
impl Sync for CompletionBranch
impl Unpin for CompletionBranch
impl UnsafeUnpin for CompletionBranch
impl UnwindSafe for CompletionBranch
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