pub struct AccountUser {
pub admin: Option<bool>,
pub email_address: Option<String>,
pub order_manager: Option<bool>,
pub payments_analyst: Option<bool>,
pub payments_manager: Option<bool>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§admin: Option<bool>Whether user is an admin.
email_address: Option<String>User’s email address.
order_manager: Option<bool>Whether user is an order manager.
payments_analyst: Option<bool>Whether user can access payment statements.
payments_manager: Option<bool>Whether user can manage payment settings.
Trait Implementations§
Source§impl Clone for AccountUser
impl Clone for AccountUser
Source§fn clone(&self) -> AccountUser
fn clone(&self) -> AccountUser
Returns a duplicate 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 Debug for AccountUser
impl Debug for AccountUser
Source§impl Default for AccountUser
impl Default for AccountUser
Source§fn default() -> AccountUser
fn default() -> AccountUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountUser
impl<'de> Deserialize<'de> for AccountUser
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 Serialize for AccountUser
impl Serialize for AccountUser
impl Part for AccountUser
Auto Trait Implementations§
impl Freeze for AccountUser
impl RefUnwindSafe for AccountUser
impl Send for AccountUser
impl Sync for AccountUser
impl Unpin for AccountUser
impl UnwindSafe for AccountUser
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