pub struct UserAttributes {
pub user_id: Option<i64>,
pub username: Option<String>,
pub title: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub division_abbreviation: Option<String>,
pub language_abbreviation: Option<String>,
pub home_currency: Option<Currency>,
}Expand description
Contains the attributes of a user.
Fields§
§user_id: Option<i64>The user’s OANDA-assigned user ID.
username: Option<String>The user-provided username.
title: Option<String>The user’s title.
name: Option<String>The user’s name.
email: Option<String>The user’s email address.
division_abbreviation: Option<String>The OANDA division the user belongs to.
language_abbreviation: Option<String>The user’s preferred language.
home_currency: Option<Currency>The home currency of the Account.
Trait Implementations§
Source§impl Clone for UserAttributes
impl Clone for UserAttributes
Source§impl Debug for UserAttributes
impl Debug for UserAttributes
Source§impl<'de> Deserialize<'de> for UserAttributes
impl<'de> Deserialize<'de> for UserAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UserAttributes
impl PartialEq for UserAttributes
Source§impl Serialize for UserAttributes
impl Serialize for UserAttributes
impl StructuralPartialEq for UserAttributes
Auto Trait Implementations§
impl Freeze for UserAttributes
impl RefUnwindSafe for UserAttributes
impl Send for UserAttributes
impl Sync for UserAttributes
impl Unpin for UserAttributes
impl UnsafeUnpin for UserAttributes
impl UnwindSafe for UserAttributes
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