pub struct RemoteBranchState {
pub name: String,
pub state: RemoteBranchStateKind,
}Expand description
One remote branch and how it relates to local tracking refs.
Fields§
§name: StringShort branch name (the segment under refs/heads/).
state: RemoteBranchStateKindClassification relative to local tracking refs.
Trait Implementations§
Source§impl Clone for RemoteBranchState
impl Clone for RemoteBranchState
Source§impl Debug for RemoteBranchState
impl Debug for RemoteBranchState
impl Eq for RemoteBranchState
Source§impl PartialEq for RemoteBranchState
impl PartialEq for RemoteBranchState
impl StructuralPartialEq for RemoteBranchState
Auto Trait Implementations§
impl Freeze for RemoteBranchState
impl RefUnwindSafe for RemoteBranchState
impl Send for RemoteBranchState
impl Sync for RemoteBranchState
impl Unpin for RemoteBranchState
impl UnsafeUnpin for RemoteBranchState
impl UnwindSafe for RemoteBranchState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.