Struct demostf_client::SteamID [−][src]
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]
account_id: u32,
instance: Instance,
account_type: AccountType,
universe: Universe
) -> SteamID
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]
pub fn deserialize<D>(
deserializer: D
) -> Result<SteamID, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>, [src]
deserializer: D
) -> Result<SteamID, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Eq for SteamID[src]
impl From<u64> for SteamID[src]
impl Hash for SteamID[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
pub 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]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,