[−][src]Struct steamid_ng::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
) -> Self
[src]
account_id: u32,
instance: Instance,
account_type: AccountType,
universe: Universe
) -> Self
pub fn steam2(&self) -> String
[src]
pub fn from_steam2(steam2: &str) -> Result<Self, SteamIDError>
[src]
pub fn steam3(&self) -> String
[src]
pub fn from_steam3(steam3: &str) -> Result<Self, 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]
fn deserialize<D>(deserializer: D) -> Result<SteamID, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for SteamID
[src]
impl From<SteamID> for u64
[src]
impl From<u64> for SteamID
[src]
impl Hash for SteamID
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SteamID> for SteamID
[src]
impl Serialize for SteamID
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for SteamID
[src]
impl StructuralPartialEq for SteamID
[src]
impl<'_> TryFrom<&'_ str> for SteamID
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,