pub struct CreateTenantData<'a> {
pub vfy_code: Option<&'a str>,
pub email: Option<&'a str>,
pub password: Option<&'a str>,
pub roles: Option<&'a [&'a str]>,
}Expand description
Data needed to create a new tenant
Fields§
§vfy_code: Option<&'a str>§email: Option<&'a str>§password: Option<&'a str>§roles: Option<&'a [&'a str]>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CreateTenantData<'a>
impl<'a> RefUnwindSafe for CreateTenantData<'a>
impl<'a> Send for CreateTenantData<'a>
impl<'a> Sync for CreateTenantData<'a>
impl<'a> Unpin for CreateTenantData<'a>
impl<'a> UnsafeUnpin for CreateTenantData<'a>
impl<'a> UnwindSafe for CreateTenantData<'a>
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