#[non_exhaustive]pub struct UserIdentityInfoLiteBuilder { /* private fields */ }
Expand description
A builder for UserIdentityInfoLite
.
Implementations§
source§impl UserIdentityInfoLiteBuilder
impl UserIdentityInfoLiteBuilder
sourcepub fn first_name(self, input: impl Into<String>) -> Self
pub fn first_name(self, input: impl Into<String>) -> Self
The user's first name.
sourcepub fn set_first_name(self, input: Option<String>) -> Self
pub fn set_first_name(self, input: Option<String>) -> Self
The user's first name.
sourcepub fn get_first_name(&self) -> &Option<String>
pub fn get_first_name(&self) -> &Option<String>
The user's first name.
sourcepub fn set_last_name(self, input: Option<String>) -> Self
pub fn set_last_name(self, input: Option<String>) -> Self
The user's last name.
sourcepub fn get_last_name(&self) -> &Option<String>
pub fn get_last_name(&self) -> &Option<String>
The user's last name.
sourcepub fn build(self) -> UserIdentityInfoLite
pub fn build(self) -> UserIdentityInfoLite
Consumes the builder and constructs a UserIdentityInfoLite
.
Trait Implementations§
source§impl Clone for UserIdentityInfoLiteBuilder
impl Clone for UserIdentityInfoLiteBuilder
source§fn clone(&self) -> UserIdentityInfoLiteBuilder
fn clone(&self) -> UserIdentityInfoLiteBuilder
Returns a copy 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 UserIdentityInfoLiteBuilder
impl Debug for UserIdentityInfoLiteBuilder
source§impl Default for UserIdentityInfoLiteBuilder
impl Default for UserIdentityInfoLiteBuilder
source§fn default() -> UserIdentityInfoLiteBuilder
fn default() -> UserIdentityInfoLiteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UserIdentityInfoLiteBuilder
impl PartialEq for UserIdentityInfoLiteBuilder
source§fn eq(&self, other: &UserIdentityInfoLiteBuilder) -> bool
fn eq(&self, other: &UserIdentityInfoLiteBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserIdentityInfoLiteBuilder
Auto Trait Implementations§
impl Freeze for UserIdentityInfoLiteBuilder
impl RefUnwindSafe for UserIdentityInfoLiteBuilder
impl Send for UserIdentityInfoLiteBuilder
impl Sync for UserIdentityInfoLiteBuilder
impl Unpin for UserIdentityInfoLiteBuilder
impl UnwindSafe for UserIdentityInfoLiteBuilder
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
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>
Creates a shared type from an unshared type.