pub struct CredentialsSessionData {
pub machine_id: Option<u64>,
pub machine_name_userchosen: Option<String>,
pub timestamp_machine_steamguard_enabled: Option<u32>,
pub authentication_exists_from_geoloc_before_mintime: Option<bool>,
pub authentication_exists_from_same_ip_before_mintime: Option<bool>,
pub public_ipv4: Option<u32>,
pub public_ip_address: Option<String>,
}Expand description
Session data for Steam Guard details
Fields§
§machine_id: Option<u64>§machine_name_userchosen: Option<String>§timestamp_machine_steamguard_enabled: Option<u32>§authentication_exists_from_geoloc_before_mintime: Option<bool>§authentication_exists_from_same_ip_before_mintime: Option<bool>§public_ipv4: Option<u32>§public_ip_address: Option<String>Implementations§
Source§impl CredentialsSessionData
impl CredentialsSessionData
Sourcepub fn machine_id(&self) -> u64
pub fn machine_id(&self) -> u64
Returns the value of machine_id, or the default value if machine_id is unset.
Sourcepub fn machine_name_userchosen(&self) -> &str
pub fn machine_name_userchosen(&self) -> &str
Returns the value of machine_name_userchosen, or the default value if machine_name_userchosen is unset.
Sourcepub fn timestamp_machine_steamguard_enabled(&self) -> u32
pub fn timestamp_machine_steamguard_enabled(&self) -> u32
Returns the value of timestamp_machine_steamguard_enabled, or the default value if timestamp_machine_steamguard_enabled is unset.
Sourcepub fn authentication_exists_from_geoloc_before_mintime(&self) -> bool
pub fn authentication_exists_from_geoloc_before_mintime(&self) -> bool
Returns the value of authentication_exists_from_geoloc_before_mintime, or the default value if authentication_exists_from_geoloc_before_mintime is unset.
Sourcepub fn authentication_exists_from_same_ip_before_mintime(&self) -> bool
pub fn authentication_exists_from_same_ip_before_mintime(&self) -> bool
Returns the value of authentication_exists_from_same_ip_before_mintime, or the default value if authentication_exists_from_same_ip_before_mintime is unset.
Sourcepub fn public_ipv4(&self) -> u32
pub fn public_ipv4(&self) -> u32
Returns the value of public_ipv4, or the default value if public_ipv4 is unset.
Sourcepub fn public_ip_address(&self) -> &str
pub fn public_ip_address(&self) -> &str
Returns the value of public_ip_address, or the default value if public_ip_address is unset.
Trait Implementations§
Source§impl Clone for CredentialsSessionData
impl Clone for CredentialsSessionData
Source§fn clone(&self) -> CredentialsSessionData
fn clone(&self) -> CredentialsSessionData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CredentialsSessionData
impl Debug for CredentialsSessionData
Source§impl Default for CredentialsSessionData
impl Default for CredentialsSessionData
Source§impl Message for CredentialsSessionData
impl Message for CredentialsSessionData
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.