pub struct Update {
pub map: Option<Map>,
pub player: Option<Player>,
pub provider: Option<Provider>,
pub auth: HashMap<String, String>,
pub round: Option<Round>,
/* private fields */
}
Expand description
an update received from CS:GO
Fields§
§map: Option<Map>
map info
player: Option<Player>
player info
provider: Option<Provider>
provider (CS:GO) info
auth: HashMap<String, String>
authentication info, matching initial config
round: Option<Round>
round info
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
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 Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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