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]

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.

Parses the following formats: Steam64: digit 7 + 16 digits

Steam3: [T:U:D] where T: The account type, U: The account universe, D: Account number,

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.