pub struct TeamMember {
pub id: Option<String>,
pub reference_id: Option<String>,
pub is_owner: Option<bool>,
pub status: Option<TeamMemberStatus>,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub email_address: Option<String>,
pub phone_number: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub assigned_locations: Option<TeamMemberAssignedLocations>,
}
Expand description
A record representing an individual team member for a business.
Fields§
§id: Option<String>
Read only The unique ID for the team member.
reference_id: Option<String>
A second ID used to associate the team member with an entity in another system.
is_owner: Option<bool>
Read only Whether the team member is the owner of the Square account.
status: Option<TeamMemberStatus>
Describes the status of the team member.
given_name: Option<String>
The given name (that is, the first name) associated with the team member.
family_name: Option<String>
The family name (that is, the last name) associated with the team member.
email_address: Option<String>
The email address associated with the team member.
phone_number: Option<String>
The team member’s phone number, in E.164 format. For example: +14155552671 - the country code is 1 for US +551155256325 - the country code is 55 for BR
created_at: Option<DateTime>
Read only The timestamp, in RFC 3339 format, describing when the team member was created.
updated_at: Option<DateTime>
Read only The timestamp, in RFC 3339 format, describing when the team member was last updated.
assigned_locations: Option<TeamMemberAssignedLocations>
Describes the team member’s assigned locations.
Trait Implementations§
Source§impl Clone for TeamMember
impl Clone for TeamMember
Source§fn clone(&self) -> TeamMember
fn clone(&self) -> TeamMember
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TeamMember
impl Debug for TeamMember
Source§impl Default for TeamMember
impl Default for TeamMember
Source§fn default() -> TeamMember
fn default() -> TeamMember
Source§impl<'de> Deserialize<'de> for TeamMember
impl<'de> Deserialize<'de> for TeamMember
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>,
Source§impl PartialEq for TeamMember
impl PartialEq for TeamMember
Source§impl Serialize for TeamMember
impl Serialize for TeamMember
impl Eq for TeamMember
impl StructuralPartialEq for TeamMember
Auto Trait Implementations§
impl Freeze for TeamMember
impl RefUnwindSafe for TeamMember
impl Send for TeamMember
impl Sync for TeamMember
impl Unpin for TeamMember
impl UnwindSafe for TeamMember
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.