Struct rippling_api::types::UserRequest
source · pub struct UserRequest {
pub active: Option<bool>,
pub username: Option<String>,
pub name: Option<UserName>,
pub display_name: Option<String>,
pub emails: Option<Email>,
pub phone_numbers: Option<UserPhoneNumber>,
pub addresses: Option<UserAddress>,
pub photos: Option<UserPhoto>,
pub preferred_language: Option<String>,
pub locale: Option<String>,
pub timezone: Option<String>,
}Expand description
Fields§
§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<Email>The user’s email addresses.
phone_numbers: Option<UserPhoneNumber>The user’s phone numbers.
addresses: Option<UserAddress>The user’s addresses.
photos: Option<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 Clone for UserRequest
impl Clone for UserRequest
source§fn clone(&self) -> UserRequest
fn clone(&self) -> UserRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserRequest
impl Debug for UserRequest
source§impl<'de> Deserialize<'de> for UserRequest
impl<'de> Deserialize<'de> for UserRequest
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 Display for UserRequest
impl Display for UserRequest
source§impl JsonSchema for UserRequest
impl JsonSchema for UserRequest
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 moresource§impl PartialEq for UserRequest
impl PartialEq for UserRequest
source§impl Serialize for UserRequest
impl Serialize for UserRequest
source§impl Tabled for UserRequest
impl Tabled for UserRequest
impl StructuralPartialEq for UserRequest
Auto Trait Implementations§
impl Freeze for UserRequest
impl RefUnwindSafe for UserRequest
impl Send for UserRequest
impl Sync for UserRequest
impl Unpin for UserRequest
impl UnwindSafe for UserRequest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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