#[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.
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 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.
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 set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
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.
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<ResetPasswordInputBuilder> for ResetPasswordInputBuilder
impl PartialEq<ResetPasswordInputBuilder> 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 ==.