pub struct Entry<T> {
pub player: Player,
pub data: T,
}
Expand description
Struct representing a tracker entry.
Fields§
§player: Player
Player this entry corresponds to.
data: T
Data associated with the player.
Implementations§
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Entry<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Entry<T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<Entry<T>> for (CachedPlayer, T)
impl<T> From<Entry<T>> for (CachedPlayer, T)
Auto Trait Implementations§
impl<T> Freeze for Entry<T>where
T: Freeze,
impl<T> RefUnwindSafe for Entry<T>where
T: RefUnwindSafe,
impl<T> Send for Entry<T>where
T: Send,
impl<T> Sync for Entry<T>where
T: Sync,
impl<T> Unpin for Entry<T>where
T: Unpin,
impl<T> UnwindSafe for Entry<T>where
T: 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