pub struct PlayerEntry {
pub value: MetricValue,
pub unit: &'static str,
pub provenance: Provenance,
pub note: &'static str,
}Expand description
One player metric: a fact of the pinned game.
Fields§
§value: MetricValueThe value.
unit: &'static strWhat the value counts (blocks, sixteenths, ticks, …), or none.
provenance: ProvenanceWhere the number came from.
note: &'static strOne sentence: the constant this is, the vanilla rule it states, or the arithmetic it was derived by.
Trait Implementations§
Source§impl Clone for PlayerEntry
impl Clone for PlayerEntry
Source§impl Debug for PlayerEntry
impl Debug for PlayerEntry
Source§impl PartialEq for PlayerEntry
impl PartialEq for PlayerEntry
Source§impl Serialize for PlayerEntry
impl Serialize for PlayerEntry
impl StructuralPartialEq for PlayerEntry
Auto Trait Implementations§
impl Freeze for PlayerEntry
impl RefUnwindSafe for PlayerEntry
impl Send for PlayerEntry
impl Sync for PlayerEntry
impl Unpin for PlayerEntry
impl UnsafeUnpin for PlayerEntry
impl UnwindSafe for PlayerEntry
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