pub struct EloResponse {
pub your_rating: u16,
pub opponent_rating: u16,
pub result: GameResult,
pub system: RatingSystem,
pub k_factor: u8,
pub expected_score: f64,
pub new_rating: i32,
pub change: i32,
}Fields§
§your_rating: u16§opponent_rating: u16§result: GameResult§system: RatingSystem§k_factor: u8§expected_score: f64§new_rating: i32§change: i32Trait Implementations§
Source§impl Clone for EloResponse
impl Clone for EloResponse
Source§impl Debug for EloResponse
impl Debug for EloResponse
Source§impl<'de> Deserialize<'de> for EloResponse
impl<'de> Deserialize<'de> for EloResponse
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 EloResponse
impl RefUnwindSafe for EloResponse
impl Send for EloResponse
impl Sync for EloResponse
impl Unpin for EloResponse
impl UnsafeUnpin for EloResponse
impl UnwindSafe for EloResponse
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