pub struct ScoreBoard {
pub data: Vec<ScoreBoardData>,
pub rankings: Vec<ScoreBoardRanking>,
}Expand description
Leaderboard + Global player positions.
This is sent every 5 seconds by the server and is used by the client to update the leaderboard and minimap.
Fields§
§data: Vec<ScoreBoardData>§rankings: Vec<ScoreBoardRanking>Trait Implementations§
Source§impl Clone for ScoreBoard
impl Clone for ScoreBoard
Source§fn clone(&self) -> ScoreBoard
fn clone(&self) -> ScoreBoard
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScoreBoard
impl Debug for ScoreBoard
Source§impl<'de> DeserializeV5<'de> for ScoreBoard
impl<'de> DeserializeV5<'de> for ScoreBoard
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<ScoreBoard> for ServerPacket
impl From<ScoreBoard> for ServerPacket
Source§fn from(v: ScoreBoard) -> Self
fn from(v: ScoreBoard) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for ScoreBoard
impl SerializeV5 for ScoreBoard
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
Auto Trait Implementations§
impl Freeze for ScoreBoard
impl RefUnwindSafe for ScoreBoard
impl Send for ScoreBoard
impl Sync for ScoreBoard
impl Unpin for ScoreBoard
impl UnwindSafe for ScoreBoard
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