pub struct UserParams { /* private fields */ }Expand description
Parâmetros para criar (add_user) ou alterar (modify_user) um usuário.
Construa com UserParams::new e os métodos encadeáveis; só os campos
definidos entram no SPB (em modify_user, os ausentes ficam intactos).
Implementations§
Source§impl UserParams
impl UserParams
Sourcepub fn new(username: impl Into<String>) -> Self
pub fn new(username: impl Into<String>) -> Self
Inicia os parâmetros para o usuário de nome username.
Sourcepub fn first_name(self, v: impl Into<String>) -> Self
pub fn first_name(self, v: impl Into<String>) -> Self
Define o primeiro nome (isc_spb_sec_firstname).
Sourcepub fn middle_name(self, v: impl Into<String>) -> Self
pub fn middle_name(self, v: impl Into<String>) -> Self
Define o nome do meio (isc_spb_sec_middlename).
Trait Implementations§
Source§impl Clone for UserParams
impl Clone for UserParams
Source§fn clone(&self) -> UserParams
fn clone(&self) -> UserParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserParams
impl Debug for UserParams
Source§impl Default for UserParams
impl Default for UserParams
Source§fn default() -> UserParams
fn default() -> UserParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserParams
impl RefUnwindSafe for UserParams
impl Send for UserParams
impl Sync for UserParams
impl Unpin for UserParams
impl UnsafeUnpin for UserParams
impl UnwindSafe for UserParams
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