pub struct PreparedUserCreation { /* private fields */ }Expand description
A creation candidate already normalized and admitted by the configured identity policy. Adapters persist its trusted mutations without normalizing it again, and retain their ordinary database hooks.
Implementations§
Source§impl PreparedUserCreation
impl PreparedUserCreation
pub fn into_data(self) -> CreateUser
Sourcepub fn into_parts(self) -> (CreateUser, UserCreationDefaults)
pub fn into_parts(self) -> (CreateUser, UserCreationDefaults)
Adapters run their before hooks on the candidate, then apply these model defaults immediately before insertion.
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedUserCreation
impl !UnwindSafe for PreparedUserCreation
impl Freeze for PreparedUserCreation
impl Send for PreparedUserCreation
impl Sync for PreparedUserCreation
impl Unpin for PreparedUserCreation
impl UnsafeUnpin for PreparedUserCreation
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