pub struct UserResponse {
pub account_type: Option<String>,
pub business_account: Option<Box<BusinessAccount>>,
pub individual_account: Option<Box<IndividualAccount>>,
pub registration_marketplace_id: Option<String>,
pub status: Option<String>,
pub user_id: Option<String>,
pub username: Option<String>,
}
Expand description
UserResponse : The type that defines the fields for the getUser method.
Fields§
§account_type: Option<String>
Indicates the user account type. This is determined when the user registers with eBay. If they register for a business account, this value will be BUSINESS. If they register for a private account, this value will be INDIVIDUAL. This designation is required by the tax laws in the following countries:
EBAY_AT, EBAY_BE, EBAY_CH, EBAY_DE, EBAY_ES, EBAY_FR, EBAY_GB, EBAY_IE, EBAY_IT, EBAY_PL
Valid Values: BUSINESS or INDIVIDUAL
Code so that your app gracefully handles any future changes to this list. For implementation help, refer to eBay API documentation
business_account: Option<Box<BusinessAccount>>
§individual_account: Option<Box<IndividualAccount>>
§registration_marketplace_id: Option<String>
The eBay site on which the account is registered. For implementation help, refer to eBay API documentation
status: Option<String>
Indicates the user’s account status. Possible values: CONFIRMED
, UNCONFIRMED
, ACCOUNTONHOLD
and UNDETERMINED
. For implementation help, refer to eBay API documentation
user_id: Option<String>
The eBay immutable user ID of the user’s account and can always be used to identify the user.
username: Option<String>
The user name, which was specific by the user when they created the account.
<span class="tablenote">Note: This value can be changed by the user.
Implementations§
Source§impl UserResponse
impl UserResponse
Sourcepub fn new() -> UserResponse
pub fn new() -> UserResponse
The type that defines the fields for the getUser method.
Trait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more