pub struct AclLoginRequestBuilder { /* private fields */ }Expand description
Builder for AclLoginRequest.
Implementations§
Source§impl AclLoginRequestBuilder
impl AclLoginRequestBuilder
Sourcepub fn auth_method_name(&mut self, value: String) -> &mut Self
pub fn auth_method_name(&mut self, value: String) -> &mut Self
AuthMethodName is the name of the auth method being used to login. This is a required parameter.
Sourcepub fn login_token(&mut self, value: String) -> &mut Self
pub fn login_token(&mut self, value: String) -> &mut Self
LoginToken is the token used to login. This is a required parameter.
Sourcepub fn build(&self) -> Result<AclLoginRequest, AclLoginRequestBuilderError>
pub fn build(&self) -> Result<AclLoginRequest, AclLoginRequestBuilderError>
Trait Implementations§
Source§impl Clone for AclLoginRequestBuilder
impl Clone for AclLoginRequestBuilder
Source§fn clone(&self) -> AclLoginRequestBuilder
fn clone(&self) -> AclLoginRequestBuilder
Returns a duplicate 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 AclLoginRequestBuilder
impl RefUnwindSafe for AclLoginRequestBuilder
impl Send for AclLoginRequestBuilder
impl Sync for AclLoginRequestBuilder
impl Unpin for AclLoginRequestBuilder
impl UnwindSafe for AclLoginRequestBuilder
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