pub struct RootUserParamsV3 {
pub user_name: String,
pub user_email: Option<String>,
pub api_keys: Vec<ApiKeyParamsV2>,
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<ApiKeyParamsV2>@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 RootUserParamsV3
impl Clone for RootUserParamsV3
Source§fn clone(&self) -> RootUserParamsV3
fn clone(&self) -> RootUserParamsV3
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 RootUserParamsV3
impl Debug for RootUserParamsV3
Source§impl<'de> Deserialize<'de> for RootUserParamsV3
impl<'de> Deserialize<'de> for RootUserParamsV3
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 RootUserParamsV3
impl PartialEq for RootUserParamsV3
Source§impl Serialize for RootUserParamsV3
impl Serialize for RootUserParamsV3
impl StructuralPartialEq for RootUserParamsV3
Auto Trait Implementations§
impl Freeze for RootUserParamsV3
impl RefUnwindSafe for RootUserParamsV3
impl Send for RootUserParamsV3
impl Sync for RootUserParamsV3
impl Unpin for RootUserParamsV3
impl UnsafeUnpin for RootUserParamsV3
impl UnwindSafe for RootUserParamsV3
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