pub struct Upstream {
pub remote: String,
pub branch: String,
}Expand description
Per-branch upstream: the remote name plus the remote branch this
local branch tracks (branch.<b>.merge stores the bare branch
name, e.g. main).
Fields§
§remote: String§branch: StringTrait Implementations§
impl Eq for Upstream
impl StructuralPartialEq for Upstream
Auto Trait Implementations§
impl Freeze for Upstream
impl RefUnwindSafe for Upstream
impl Send for Upstream
impl Sync for Upstream
impl Unpin for Upstream
impl UnsafeUnpin for Upstream
impl UnwindSafe for Upstream
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