pub struct AssociatedUserResponse {
pub id: u64,
pub first_name: String,
pub last_name: String,
pub email: String,
pub email_verified: bool,
pub account_owner: bool,
pub locale: String,
pub collaborator: bool,
}Expand description
User information from an OAuth access token response.
This struct matches the format of user data in Shopify’s OAuth response.
Fields§
§id: u64The Shopify user ID.
first_name: StringThe user’s first name.
last_name: StringThe user’s last name.
email: StringThe user’s email address.
email_verified: boolWhether the user’s email has been verified.
account_owner: boolWhether the user is the account owner.
locale: StringThe user’s locale preference.
collaborator: boolWhether the user is a collaborator.
Trait Implementations§
Source§impl Clone for AssociatedUserResponse
impl Clone for AssociatedUserResponse
Source§fn clone(&self) -> AssociatedUserResponse
fn clone(&self) -> AssociatedUserResponse
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 AssociatedUserResponse
impl Debug for AssociatedUserResponse
Source§impl<'de> Deserialize<'de> for AssociatedUserResponse
impl<'de> Deserialize<'de> for AssociatedUserResponse
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
Auto Trait Implementations§
impl Freeze for AssociatedUserResponse
impl RefUnwindSafe for AssociatedUserResponse
impl Send for AssociatedUserResponse
impl Sync for AssociatedUserResponse
impl Unpin for AssociatedUserResponse
impl UnwindSafe for AssociatedUserResponse
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