Struct steam_resolve_vanity::SteamID[][src]

pub struct SteamID(_);

Implementations

impl SteamID[src]

pub fn account_id(&self) -> u32[src]

pub fn set_account_id(&mut self, account_id: u32)[src]

pub fn instance(&self) -> Instance[src]

pub fn set_instance(&mut self, instance: Instance)[src]

pub fn account_type(&self) -> AccountType[src]

pub fn set_account_type(&mut self, account_type: AccountType)[src]

pub fn universe(&self) -> Universe[src]

pub fn set_universe(&mut self, universe: Universe)[src]

pub fn new(
    account_id: u32,
    instance: Instance,
    account_type: AccountType,
    universe: Universe
) -> SteamID
[src]

pub fn steam2(&self) -> String[src]

pub fn from_steam2(steam2: &str) -> Result<SteamID, SteamIDError>[src]

pub fn steam3(&self) -> String[src]

pub fn from_steam3(steam3: &str) -> Result<SteamID, SteamIDError>[src]

Trait Implementations

impl Clone for SteamID[src]

impl Copy for SteamID[src]

impl Debug for SteamID[src]

impl Default for SteamID[src]

impl<'de> Deserialize<'de> for SteamID[src]

impl Eq for SteamID[src]

impl From<u64> for SteamID[src]

impl Hash for SteamID[src]

impl PartialEq<SteamID> for SteamID[src]

impl Serialize for SteamID[src]

impl StructuralEq for SteamID[src]

impl StructuralPartialEq for SteamID[src]

impl<'_> TryFrom<&'_ str> for SteamID[src]

type Error = SteamIDError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for SteamID

impl Send for SteamID

impl Sync for SteamID

impl Unpin for SteamID

impl UnwindSafe for SteamID

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.