pub struct RootUserParamsV2 {
pub user_name: String,
pub user_email: Option<String>,
pub api_keys: Vec<ApiKeyParams>,
pub authenticators: Vec<AuthenticatorParamsV2>,
pub oauth_providers: Vec<OauthProviderParams>,
}Fields§
§user_name: String@inject_tag: validate:“required,tk_label_length,tk_label”
user_email: Option<String>@inject_tag: validate:“omitempty,email,tk_email”
api_keys: Vec<ApiKeyParams>@inject_tag: validate:“dive”
authenticators: Vec<AuthenticatorParamsV2>@inject_tag: validate:“dive”
oauth_providers: Vec<OauthProviderParams>@inject_tag: validate:“dive”
Trait Implementations§
Source§impl Clone for RootUserParamsV2
impl Clone for RootUserParamsV2
Source§fn clone(&self) -> RootUserParamsV2
fn clone(&self) -> RootUserParamsV2
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 RootUserParamsV2
impl Debug for RootUserParamsV2
Source§impl<'de> Deserialize<'de> for RootUserParamsV2
impl<'de> Deserialize<'de> for RootUserParamsV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RootUserParamsV2
impl PartialEq for RootUserParamsV2
Source§impl Serialize for RootUserParamsV2
impl Serialize for RootUserParamsV2
impl StructuralPartialEq for RootUserParamsV2
Auto Trait Implementations§
impl Freeze for RootUserParamsV2
impl RefUnwindSafe for RootUserParamsV2
impl Send for RootUserParamsV2
impl Sync for RootUserParamsV2
impl Unpin for RootUserParamsV2
impl UnsafeUnpin for RootUserParamsV2
impl UnwindSafe for RootUserParamsV2
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