pub enum RepoSort {
Name,
Created,
Updated,
}Expand description
How a repository listing is ordered. GitFox sorts by identifier, created
or updated; name goes ascending because an alphabetical list read backwards
helps nobody, while the other two mean “most recent first”.
Variants§
Implementations§
Trait Implementations§
impl Copy for RepoSort
impl Eq for RepoSort
impl StructuralPartialEq for RepoSort
Auto Trait Implementations§
impl Forget for RepoSort
impl Freeze for RepoSort
impl RefUnwindSafe for RepoSort
impl Send for RepoSort
impl Sync for RepoSort
impl Unpin for RepoSort
impl UnsafeUnpin for RepoSort
impl UnwindSafe for RepoSort
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.