pub struct MainBranchTip {
pub name: String,
pub tip: Oid,
}Expand description
A resolved remote main branch: display name plus the commit it points at.
Fields§
§name: StringDisplay name, e.g. origin/main.
tip: OidCommit the local remote-tracking ref currently points at.
Trait Implementations§
Source§impl Clone for MainBranchTip
impl Clone for MainBranchTip
Source§fn clone(&self) -> MainBranchTip
fn clone(&self) -> MainBranchTip
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 MainBranchTip
impl RefUnwindSafe for MainBranchTip
impl Send for MainBranchTip
impl Sync for MainBranchTip
impl Unpin for MainBranchTip
impl UnsafeUnpin for MainBranchTip
impl UnwindSafe for MainBranchTip
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