pub struct RecordedRepository {
pub entity: EntityId,
pub path: String,
pub remotes: Vec<(String, String)>,
pub branch: Option<String>,
pub upstream: Option<String>,
pub pinned: Option<String>,
pub here: bool,
}Expand description
A Git repository that a tree records.
Fields§
§entity: EntityIdIts entity.
path: StringIts folder, as a path in the tree.
remotes: Vec<(String, String)>Its remotes, each by its name and address, ordered by name.
branch: Option<String>Its branch.
upstream: Option<String>The remote that its branch follows.
pinned: Option<String>The commit it is pinned at, if the person pinned it.
here: boolWhether this device’s copy of the tree holds it.
Trait Implementations§
Source§impl Clone for RecordedRepository
impl Clone for RecordedRepository
Source§impl Debug for RecordedRepository
impl Debug for RecordedRepository
impl Eq for RecordedRepository
Source§impl PartialEq for RecordedRepository
impl PartialEq for RecordedRepository
impl StructuralPartialEq for RecordedRepository
Auto Trait Implementations§
impl Forget for RecordedRepository
impl Freeze for RecordedRepository
impl Move for RecordedRepository
impl RefUnwindSafe for RecordedRepository
impl Send for RecordedRepository
impl Sync for RecordedRepository
impl Unpin for RecordedRepository
impl UnsafeUnpin for RecordedRepository
impl UnwindSafe for RecordedRepository
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.