pub struct LoginRequestBuilder { /* private fields */ }Expand description
Builder for LoginRequest.
Implementations§
Source§impl LoginRequestBuilder
impl LoginRequestBuilder
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
Sourcepub fn build(&self) -> Result<LoginRequest, LoginRequestBuilderError>
pub fn build(&self) -> Result<LoginRequest, LoginRequestBuilderError>
Trait Implementations§
Source§impl Clone for LoginRequestBuilder
impl Clone for LoginRequestBuilder
Source§fn clone(&self) -> LoginRequestBuilder
fn clone(&self) -> LoginRequestBuilder
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 LoginRequestBuilder
impl RefUnwindSafe for LoginRequestBuilder
impl Send for LoginRequestBuilder
impl Sync for LoginRequestBuilder
impl Unpin for LoginRequestBuilder
impl UnwindSafe for LoginRequestBuilder
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