Struct ruarango::db::input::UserBuilder
source · pub struct UserBuilder { /* private fields */ }
Expand description
Builder for User
.
Implementations§
source§impl UserBuilder
impl UserBuilder
sourcepub fn username<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn username<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Login name of the user to be created.
sourcepub fn password<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn password<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The user password as a string. If not specified, it will default to an empty string.
Trait Implementations§
source§impl Clone for UserBuilder
impl Clone for UserBuilder
source§fn clone(&self) -> UserBuilder
fn clone(&self) -> UserBuilder
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 more