pub struct UserCreationDefaults(/* private fields */);Expand description
Registered model defaults applied by an adapter after its creation hooks. Keeping this phase separate preserves a validation candidate’s absent fields.
Implementations§
Source§impl UserCreationDefaults
impl UserCreationDefaults
pub fn apply(self, data: CreateUser) -> AuthResult<CreateUser>
Trait Implementations§
Source§impl Clone for UserCreationDefaults
impl Clone for UserCreationDefaults
Auto Trait Implementations§
impl !RefUnwindSafe for UserCreationDefaults
impl !UnwindSafe for UserCreationDefaults
impl Freeze for UserCreationDefaults
impl Send for UserCreationDefaults
impl Sync for UserCreationDefaults
impl Unpin for UserCreationDefaults
impl UnsafeUnpin for UserCreationDefaults
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