pub struct RemoteSummary {
pub name: String,
pub fetch_url: String,
pub push_url: String,
pub head_branch: Option<String>,
pub branches: Vec<RemoteBranchState>,
pub pull: Vec<RemotePullBranch>,
}Expand description
Result of inspecting one configured remote.
Fields§
§name: StringRemote name (config subsection).
fetch_url: StringFetch URL after config rewrite.
push_url: StringPush URL (pushurl when set, else fetch URL).
head_branch: Option<String>Default branch on the remote (HEAD symref target), when known.
branches: Vec<RemoteBranchState>Remote branches and their tracking state (bounded by InspectOptions::limit).
pull: Vec<RemotePullBranch>Local branches with branch.<name>.remote set to this remote.
Trait Implementations§
Source§impl Clone for RemoteSummary
impl Clone for RemoteSummary
Source§impl Debug for RemoteSummary
impl Debug for RemoteSummary
impl Eq for RemoteSummary
Source§impl PartialEq for RemoteSummary
impl PartialEq for RemoteSummary
impl StructuralPartialEq for RemoteSummary
Auto Trait Implementations§
impl Freeze for RemoteSummary
impl RefUnwindSafe for RemoteSummary
impl Send for RemoteSummary
impl Sync for RemoteSummary
impl Unpin for RemoteSummary
impl UnsafeUnpin for RemoteSummary
impl UnwindSafe for RemoteSummary
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.