pub struct Provider {
pub name: String,
pub appid: u32,
pub version: u64,
pub steamid: String,
pub timestamp: Option<u64>,
}Expand description
Identifies the producer of the game state — for CS2 this is always the
game client itself (appid: 730).
Fields§
§name: StringDisplay name of the producing client (e.g. "Counter-Strike 2").
appid: u32Steam app id. 730 for CS2.
version: u64Game client build version.
steamid: String64-bit SteamID of the local player.
timestamp: Option<u64>Unix timestamp (seconds) at which the payload was emitted.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Provider
impl<'de> Deserialize<'de> for Provider
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
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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