pub struct UpstreamRef {
pub remote: RemoteName,
pub merge_ref: RefName,
}Fields§
§remote: RemoteName§merge_ref: RefNameImplementations§
Source§impl UpstreamRef
impl UpstreamRef
pub fn short_branch(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for UpstreamRef
impl Clone for UpstreamRef
Source§fn clone(&self) -> UpstreamRef
fn clone(&self) -> UpstreamRef
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 moreSource§impl Debug for UpstreamRef
impl Debug for UpstreamRef
impl Eq for UpstreamRef
Source§impl PartialEq for UpstreamRef
impl PartialEq for UpstreamRef
Source§fn eq(&self, other: &UpstreamRef) -> bool
fn eq(&self, other: &UpstreamRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpstreamRef
Auto Trait Implementations§
impl Freeze for UpstreamRef
impl RefUnwindSafe for UpstreamRef
impl Send for UpstreamRef
impl Sync for UpstreamRef
impl Unpin for UpstreamRef
impl UnsafeUnpin for UpstreamRef
impl UnwindSafe for UpstreamRef
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