pub struct Earned<K, A> {
pub who: K,
pub badge: A,
pub at: u64,
pub rank: u64,
}Fields§
§who: K§badge: A§at: u64§rank: u64Trait Implementations§
impl<K: Eq, A: Eq> Eq for Earned<K, A>
impl<K: PartialEq, A: PartialEq> StructuralPartialEq for Earned<K, A>
Auto Trait Implementations§
impl<K, A> Freeze for Earned<K, A>
impl<K, A> RefUnwindSafe for Earned<K, A>where
K: RefUnwindSafe,
A: RefUnwindSafe,
impl<K, A> Send for Earned<K, A>
impl<K, A> Sync for Earned<K, A>
impl<K, A> Unpin for Earned<K, A>
impl<K, A> UnsafeUnpin for Earned<K, A>where
K: UnsafeUnpin,
A: UnsafeUnpin,
impl<K, A> UnwindSafe for Earned<K, A>where
K: UnwindSafe,
A: UnwindSafe,
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