Struct steamid_parser::SteamID [−][src]
pub struct SteamID { /* fields omitted */ }Expand description
Let X, Y and Z constants be defined by the SteamID: STEAM_X:Y:Z.
Implementations
Reference: https://developer.valvesoftware.com/wiki/SteamID
Using the formula W=Z*2+Y, a SteamID can be converted to Steam3. Source: https://steamcommunity.com/path/[letter:1:W]
pub fn from_steam3(
steam3: u32,
universe: Option<EUniverse>,
account_type: Option<EAccountType>
) -> Self
pub fn from_steam3(
steam3: u32,
universe: Option<EUniverse>,
account_type: Option<EAccountType>
) -> Self
Creates a new SteamID from the Steam3 format. Defaults to Public universe, and Individual account. You can use the parse utility function.
Creates a new SteamID from the Steam64 format.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SteamID
impl UnwindSafe for SteamID
Blanket Implementations
Mutably borrows from an owned value. Read more