pub enum ExplorerResource {
Tree {
oid: Oid,
},
Patch {
id: ObjectId,
},
}Expand description
A resource such as a branch, patch or commit.
Variants§
Trait Implementations§
Source§impl Debug for ExplorerResource
impl Debug for ExplorerResource
Source§impl Display for ExplorerResource
impl Display for ExplorerResource
Source§impl Hash for ExplorerResource
impl Hash for ExplorerResource
Source§impl PartialEq for ExplorerResource
impl PartialEq for ExplorerResource
impl Eq for ExplorerResource
impl StructuralPartialEq for ExplorerResource
Auto Trait Implementations§
impl Freeze for ExplorerResource
impl RefUnwindSafe for ExplorerResource
impl Send for ExplorerResource
impl Sync for ExplorerResource
impl Unpin for ExplorerResource
impl UnwindSafe for ExplorerResource
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<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.