pub struct User {Show 14 fields
pub id: String,
pub created_at: String,
pub updated_at: String,
pub active: Option<bool>,
pub username: Option<String>,
pub name: Option<UserName>,
pub display_name: Option<String>,
pub emails: Option<Vec<Email>>,
pub phone_numbers: Option<Vec<UserPhoneNumber>>,
pub addresses: Option<Vec<UserAddress>>,
pub photos: Option<Vec<UserPhoto>>,
pub preferred_language: Option<String>,
pub locale: Option<String>,
pub timezone: Option<String>,
}Expand description
User.
Fields§
§id: StringIdentifier field
created_at: StringRecord creation date
updated_at: StringRecord update date
active: Option<bool>Whether the user is able to access company resources, typically when they are in actively engaged with the company and not after off-boarding.
username: Option<String>The unique identifier across Rippling used by the User for direct authentication into their associated company. Globally unique.
name: Option<UserName>The user’s name.
display_name: Option<String>The display name of the user using either the concatenated preferred given and family name or username depending on availability.
emails: Option<Vec<Email>>The user’s email addresses.
phone_numbers: Option<Vec<UserPhoneNumber>>The user’s phone numbers.
addresses: Option<Vec<UserAddress>>The user’s addresses.
photos: Option<Vec<UserPhoto>>The user’s photos.
preferred_language: Option<String>The User’s preferred written or spoken language in the same format of the HTTP Accept-Language header, pursuant to Section 5.3.5 of RFC7231.
locale: Option<String>The User’s default location for purposes of localization of currency, date time format, or numerical representations pursuant to RFC5646.
timezone: Option<String>The User’s current time zone in IANA database Olson format
Trait Implementations§
source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 JsonSchema for User
impl JsonSchema for User
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more