#[non_exhaustive]pub struct ResetPasswordInputBuilder { /* private fields */ }
Expand description
A builder for ResetPasswordInput
.
Implementations§
source§impl ResetPasswordInputBuilder
impl ResetPasswordInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier of the organization that contains the user for which the password is reset.
This field is required.sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier of the organization that contains the user for which the password is reset.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The identifier of the organization that contains the user for which the password is reset.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user for whom the password is reset.
This field is required.sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user for whom the password is reset.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier of the user for whom the password is reset.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The new password for the user.
This field is required.sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The new password for the user.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The new password for the user.
sourcepub fn build(self) -> Result<ResetPasswordInput, BuildError>
pub fn build(self) -> Result<ResetPasswordInput, BuildError>
Consumes the builder and constructs a ResetPasswordInput
.
source§impl ResetPasswordInputBuilder
impl ResetPasswordInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ResetPasswordOutput, SdkError<ResetPasswordError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ResetPasswordOutput, SdkError<ResetPasswordError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResetPasswordInputBuilder
impl Clone for ResetPasswordInputBuilder
source§fn clone(&self) -> ResetPasswordInputBuilder
fn clone(&self) -> ResetPasswordInputBuilder
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 ResetPasswordInputBuilder
impl Debug for ResetPasswordInputBuilder
source§impl Default for ResetPasswordInputBuilder
impl Default for ResetPasswordInputBuilder
source§fn default() -> ResetPasswordInputBuilder
fn default() -> ResetPasswordInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResetPasswordInputBuilder
impl PartialEq for ResetPasswordInputBuilder
source§fn eq(&self, other: &ResetPasswordInputBuilder) -> bool
fn eq(&self, other: &ResetPasswordInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResetPasswordInputBuilder
Auto Trait Implementations§
impl Freeze for ResetPasswordInputBuilder
impl RefUnwindSafe for ResetPasswordInputBuilder
impl Send for ResetPasswordInputBuilder
impl Sync for ResetPasswordInputBuilder
impl Unpin for ResetPasswordInputBuilder
impl UnwindSafe for ResetPasswordInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.