pub struct RoomRecordDto {
pub player: String,
pub time_ticks: i64,
pub hash: String,
pub size: i64,
pub uploaded_at: i64,
pub splits_ms: Option<[i64; 2]>,
}Expand description
One room record: the best replay .dat of a single player in a
room. hash is the CAS sha256 of the uploaded .dat.
splits_ms is [checkpoint1_ms, checkpoint2_ms] as captured at upload
time (whole milliseconds); None for records uploaded without usable
split data (including everything stored by older clients/servers, the
server renders finish-only splits for those).
Fields§
§player: String§time_ticks: i64§hash: String§size: i64§uploaded_at: i64§splits_ms: Option<[i64; 2]>Trait Implementations§
Source§impl Clone for RoomRecordDto
impl Clone for RoomRecordDto
Source§fn clone(&self) -> RoomRecordDto
fn clone(&self) -> RoomRecordDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoomRecordDto
impl Debug for RoomRecordDto
Source§impl<'de> Deserialize<'de> for RoomRecordDto
impl<'de> Deserialize<'de> for RoomRecordDto
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
Auto Trait Implementations§
impl Freeze for RoomRecordDto
impl RefUnwindSafe for RoomRecordDto
impl Send for RoomRecordDto
impl Sync for RoomRecordDto
impl Unpin for RoomRecordDto
impl UnsafeUnpin for RoomRecordDto
impl UnwindSafe for RoomRecordDto
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