Struct steam_vent_proto::steammessages_useraccount_steamclient::CUserAccount_GetWalletDetails_Response
source · pub struct CUserAccount_GetWalletDetails_Response {Show 15 fields
pub has_wallet: Option<bool>,
pub user_country_code: Option<String>,
pub wallet_country_code: Option<String>,
pub wallet_state: Option<String>,
pub balance: Option<i64>,
pub delayed_balance: Option<i64>,
pub currency_code: Option<i32>,
pub time_most_recent_txn: Option<u32>,
pub most_recent_txnid: Option<u64>,
pub balance_in_usd: Option<i64>,
pub delayed_balance_in_usd: Option<i64>,
pub has_wallet_in_other_regions: Option<bool>,
pub other_regions: Vec<i32>,
pub formatted_balance: Option<String>,
pub special_fields: SpecialFields,
}
Fields§
§has_wallet: Option<bool>
§user_country_code: Option<String>
§wallet_country_code: Option<String>
§wallet_state: Option<String>
§balance: Option<i64>
§delayed_balance: Option<i64>
§currency_code: Option<i32>
§time_most_recent_txn: Option<u32>
§most_recent_txnid: Option<u64>
§balance_in_usd: Option<i64>
§delayed_balance_in_usd: Option<i64>
§has_wallet_in_other_regions: Option<bool>
§other_regions: Vec<i32>
§formatted_balance: Option<String>
§special_fields: SpecialFields
Implementations§
source§impl CUserAccount_GetWalletDetails_Response
impl CUserAccount_GetWalletDetails_Response
pub fn new() -> CUserAccount_GetWalletDetails_Response
pub fn has_wallet(&self) -> bool
pub fn clear_has_wallet(&mut self)
pub fn has_has_wallet(&self) -> bool
pub fn set_has_wallet(&mut self, v: bool)
pub fn user_country_code(&self) -> &str
pub fn clear_user_country_code(&mut self)
pub fn has_user_country_code(&self) -> bool
pub fn set_user_country_code(&mut self, v: String)
pub fn mut_user_country_code(&mut self) -> &mut String
pub fn take_user_country_code(&mut self) -> String
pub fn wallet_country_code(&self) -> &str
pub fn clear_wallet_country_code(&mut self)
pub fn has_wallet_country_code(&self) -> bool
pub fn set_wallet_country_code(&mut self, v: String)
pub fn mut_wallet_country_code(&mut self) -> &mut String
pub fn take_wallet_country_code(&mut self) -> String
pub fn wallet_state(&self) -> &str
pub fn clear_wallet_state(&mut self)
pub fn has_wallet_state(&self) -> bool
pub fn set_wallet_state(&mut self, v: String)
pub fn mut_wallet_state(&mut self) -> &mut String
pub fn take_wallet_state(&mut self) -> String
pub fn balance(&self) -> i64
pub fn clear_balance(&mut self)
pub fn has_balance(&self) -> bool
pub fn set_balance(&mut self, v: i64)
pub fn delayed_balance(&self) -> i64
pub fn clear_delayed_balance(&mut self)
pub fn has_delayed_balance(&self) -> bool
pub fn set_delayed_balance(&mut self, v: i64)
pub fn currency_code(&self) -> i32
pub fn clear_currency_code(&mut self)
pub fn has_currency_code(&self) -> bool
pub fn set_currency_code(&mut self, v: i32)
pub fn time_most_recent_txn(&self) -> u32
pub fn clear_time_most_recent_txn(&mut self)
pub fn has_time_most_recent_txn(&self) -> bool
pub fn set_time_most_recent_txn(&mut self, v: u32)
pub fn most_recent_txnid(&self) -> u64
pub fn clear_most_recent_txnid(&mut self)
pub fn has_most_recent_txnid(&self) -> bool
pub fn set_most_recent_txnid(&mut self, v: u64)
pub fn balance_in_usd(&self) -> i64
pub fn clear_balance_in_usd(&mut self)
pub fn has_balance_in_usd(&self) -> bool
pub fn set_balance_in_usd(&mut self, v: i64)
pub fn delayed_balance_in_usd(&self) -> i64
pub fn clear_delayed_balance_in_usd(&mut self)
pub fn has_delayed_balance_in_usd(&self) -> bool
pub fn set_delayed_balance_in_usd(&mut self, v: i64)
pub fn has_wallet_in_other_regions(&self) -> bool
pub fn clear_has_wallet_in_other_regions(&mut self)
pub fn has_has_wallet_in_other_regions(&self) -> bool
pub fn set_has_wallet_in_other_regions(&mut self, v: bool)
pub fn formatted_balance(&self) -> &str
pub fn clear_formatted_balance(&mut self)
pub fn has_formatted_balance(&self) -> bool
pub fn set_formatted_balance(&mut self, v: String)
pub fn mut_formatted_balance(&mut self) -> &mut String
pub fn take_formatted_balance(&mut self) -> String
Trait Implementations§
source§impl Clone for CUserAccount_GetWalletDetails_Response
impl Clone for CUserAccount_GetWalletDetails_Response
source§fn clone(&self) -> CUserAccount_GetWalletDetails_Response
fn clone(&self) -> CUserAccount_GetWalletDetails_Response
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Default for &'a CUserAccount_GetWalletDetails_Response
impl<'a> Default for &'a CUserAccount_GetWalletDetails_Response
source§fn default() -> &'a CUserAccount_GetWalletDetails_Response
fn default() -> &'a CUserAccount_GetWalletDetails_Response
Returns the “default value” for a type. Read more
source§impl Default for CUserAccount_GetWalletDetails_Response
impl Default for CUserAccount_GetWalletDetails_Response
source§fn default() -> CUserAccount_GetWalletDetails_Response
fn default() -> CUserAccount_GetWalletDetails_Response
Returns the “default value” for a type. Read more
source§impl Message for CUserAccount_GetWalletDetails_Response
impl Message for CUserAccount_GetWalletDetails_Response
source§const NAME: &'static str = "CUserAccount_GetWalletDetails_Response"
const NAME: &'static str = "CUserAccount_GetWalletDetails_Response"
Message name as specified in
.proto
file. Read moresource§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true
for protobuf 3.source§fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
Update this message object with fields read from given stream.
source§fn compute_size(&self) -> u64
fn compute_size(&self) -> u64
Compute and cache size of this message and all nested messages. Read more
source§fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<()>
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_> ) -> Result<()>
Write message to the stream. Read more
source§fn special_fields(&self) -> &SpecialFields
fn special_fields(&self) -> &SpecialFields
Special fields (unknown fields and cached size).
source§fn mut_special_fields(&mut self) -> &mut SpecialFields
fn mut_special_fields(&mut self) -> &mut SpecialFields
Special fields (unknown fields and cached size).
source§fn new() -> CUserAccount_GetWalletDetails_Response
fn new() -> CUserAccount_GetWalletDetails_Response
Create an empty message object. Read more
source§fn default_instance() -> &'static CUserAccount_GetWalletDetails_Response
fn default_instance() -> &'static CUserAccount_GetWalletDetails_Response
Return a pointer to default immutable message with static lifetime. Read more
source§fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
Parse message from stream.
source§fn cached_size(&self) -> u32
fn cached_size(&self) -> u32
Get size previously computed by
compute_size
. Read moresource§fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
Write the message to the stream. Read more
source§fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), Error>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_> ) -> Result<(), Error>
Write the message to the stream prepending the message with message length
encoded as varint.
source§fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
Write the message to the vec, prepend the message with message length
encoded as varint.
source§fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Update this message object with fields read from given stream.
source§fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
Parse message from reader.
Parse stops on EOF or when error encountered.
source§fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
Parse message from
Bytes
object.
Resulting message may share references to the passed bytes object.source§fn check_initialized(&self) -> Result<(), Error>
fn check_initialized(&self) -> Result<(), Error>
Check if all required fields of this object are initialized.
source§fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
Write the message to the writer.
source§fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), Error>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write ) -> Result<(), Error>
Write the message to the writer, prepend the message with message length
encoded as varint.
source§fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
Write the message to the bytes vec, prepend the message with message length
encoded as varint.
source§fn unknown_fields(&self) -> &UnknownFields
fn unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
source§fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
source§impl PartialEq for CUserAccount_GetWalletDetails_Response
impl PartialEq for CUserAccount_GetWalletDetails_Response
source§fn eq(&self, other: &CUserAccount_GetWalletDetails_Response) -> bool
fn eq(&self, other: &CUserAccount_GetWalletDetails_Response) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CUserAccount_GetWalletDetails_Response
Auto Trait Implementations§
impl !Freeze for CUserAccount_GetWalletDetails_Response
impl RefUnwindSafe for CUserAccount_GetWalletDetails_Response
impl Send for CUserAccount_GetWalletDetails_Response
impl Sync for CUserAccount_GetWalletDetails_Response
impl Unpin for CUserAccount_GetWalletDetails_Response
impl UnwindSafe for CUserAccount_GetWalletDetails_Response
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more