pub enum AdminSeed {
Exists,
Created {
generated_password: Option<String>,
},
}Expand description
Outcome of seed_default_admin.
Variants§
Exists
An admin user already existed — nothing was created.
Created
A new admin user (assigned the built-in cls-admin class) was created.
generated_password is Some only when no env password was supplied and a
random one was generated — the caller must surface it once.
Auto Trait Implementations§
impl Freeze for AdminSeed
impl RefUnwindSafe for AdminSeed
impl Send for AdminSeed
impl Sync for AdminSeed
impl Unpin for AdminSeed
impl UnsafeUnpin for AdminSeed
impl UnwindSafe for AdminSeed
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