pub struct CreateUserRequestBuilder { /* private fields */ }
Expand description
Builder for CreateUserRequest
.
Implementations§
source§impl CreateUserRequestBuilder
impl CreateUserRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn username<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn password<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_bound_cidrs<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_explicit_max_ttl<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_no_default_policy<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_num_uses<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn token_ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_max_ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_period<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn token_policies<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn token_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<CreateUserRequest, CreateUserRequestBuilderError>
pub fn build(&self) -> Result<CreateUserRequest, CreateUserRequestBuilderError>
Trait Implementations§
source§impl Clone for CreateUserRequestBuilder
impl Clone for CreateUserRequestBuilder
source§fn clone(&self) -> CreateUserRequestBuilder
fn clone(&self) -> CreateUserRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for CreateUserRequestBuilder
impl RefUnwindSafe for CreateUserRequestBuilder
impl Send for CreateUserRequestBuilder
impl Sync for CreateUserRequestBuilder
impl Unpin for CreateUserRequestBuilder
impl UnwindSafe for CreateUserRequestBuilder
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> 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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)