pub struct BusinessUserAttributes {
pub title: Option<String>,
pub location: Option<String>,
pub department: Option<String>,
pub mobile_phone: Option<String>,
pub linked_in_profile_url: Option<String>,
pub work_phone: Option<String>,
pub company_start_date: Option<Timestamp>,
}Expand description
A structure holding the optional attributes associated with users in a business.
- title
- Free form text of this user's title in the business
- location
- City, State (for US) or City / Province for other countries
- department
- Free form text of the department this user belongs to.
- mobilePhone
- User's mobile phone number. Stored as plain text without any formatting.
- linkedInProfileUrl
- URL to user's public LinkedIn profile page. This should only contain the portion relative to the base LinkedIn URL. For example: "/pub/john-smith/".
- workPhone
- User's work phone number. Stored as plain text without any formatting.
- companyStartDate
- The date on which the user started working at their company.
Fields§
§title: Option<String>§location: Option<String>§department: Option<String>§mobile_phone: Option<String>§linked_in_profile_url: Option<String>§work_phone: Option<String>§company_start_date: Option<Timestamp>Implementations§
Source§impl BusinessUserAttributes
impl BusinessUserAttributes
pub fn new<F1, F2, F3, F4, F5, F6, F7>( title: F1, location: F2, department: F3, mobile_phone: F4, linked_in_profile_url: F5, work_phone: F6, company_start_date: F7, ) -> BusinessUserAttributes
Trait Implementations§
Source§impl Clone for BusinessUserAttributes
impl Clone for BusinessUserAttributes
Source§fn clone(&self) -> BusinessUserAttributes
fn clone(&self) -> BusinessUserAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BusinessUserAttributes
impl Debug for BusinessUserAttributes
Source§impl Default for BusinessUserAttributes
impl Default for BusinessUserAttributes
Source§fn default() -> BusinessUserAttributes
fn default() -> BusinessUserAttributes
Returns the “default value” for a type. Read more
impl Eq for BusinessUserAttributes
Source§impl Hash for BusinessUserAttributes
impl Hash for BusinessUserAttributes
Source§impl Ord for BusinessUserAttributes
impl Ord for BusinessUserAttributes
Source§fn cmp(&self, other: &BusinessUserAttributes) -> Ordering
fn cmp(&self, other: &BusinessUserAttributes) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BusinessUserAttributes
impl PartialEq for BusinessUserAttributes
Source§impl PartialOrd for BusinessUserAttributes
impl PartialOrd for BusinessUserAttributes
impl StructuralPartialEq for BusinessUserAttributes
Source§impl TSerializable for BusinessUserAttributes
impl TSerializable for BusinessUserAttributes
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<BusinessUserAttributes>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
Auto Trait Implementations§
impl Freeze for BusinessUserAttributes
impl RefUnwindSafe for BusinessUserAttributes
impl Send for BusinessUserAttributes
impl Sync for BusinessUserAttributes
impl Unpin for BusinessUserAttributes
impl UnsafeUnpin for BusinessUserAttributes
impl UnwindSafe for BusinessUserAttributes
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