pub struct RegisterBootstrapAdminBody {
pub display_name: RegisterBootstrapAdminBodyDisplayName,
pub email: String,
pub password: RegisterBootstrapAdminBodyPassword,
}Expand description
RegisterBootstrapAdminBody
JSON schema
{
"type": "object",
"required": [
"displayName",
"email",
"password"
],
"properties": {
"displayName": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254,
"minLength": 3
},
"password": {
"type": "string",
"maxLength": 256,
"minLength": 8
}
}
}Fields§
§display_name: RegisterBootstrapAdminBodyDisplayName§email: String§password: RegisterBootstrapAdminBodyPasswordImplementations§
Source§impl RegisterBootstrapAdminBody
impl RegisterBootstrapAdminBody
pub fn builder() -> RegisterBootstrapAdminBody
Trait Implementations§
Source§impl Clone for RegisterBootstrapAdminBody
impl Clone for RegisterBootstrapAdminBody
Source§fn clone(&self) -> RegisterBootstrapAdminBody
fn clone(&self) -> RegisterBootstrapAdminBody
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 RegisterBootstrapAdminBody
impl Debug for RegisterBootstrapAdminBody
Source§impl<'de> Deserialize<'de> for RegisterBootstrapAdminBody
impl<'de> Deserialize<'de> for RegisterBootstrapAdminBody
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 From<&RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
impl From<&RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
Source§fn from(value: &RegisterBootstrapAdminBody) -> Self
fn from(value: &RegisterBootstrapAdminBody) -> Self
Converts to this type from the input type.
Source§impl From<RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
impl From<RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
Source§fn from(value: RegisterBootstrapAdminBody) -> Self
fn from(value: RegisterBootstrapAdminBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
impl TryFrom<RegisterBootstrapAdminBody> for RegisterBootstrapAdminBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RegisterBootstrapAdminBody) -> Result<Self, ConversionError>
fn try_from(value: RegisterBootstrapAdminBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RegisterBootstrapAdminBody
impl RefUnwindSafe for RegisterBootstrapAdminBody
impl Send for RegisterBootstrapAdminBody
impl Sync for RegisterBootstrapAdminBody
impl Unpin for RegisterBootstrapAdminBody
impl UnsafeUnpin for RegisterBootstrapAdminBody
impl UnwindSafe for RegisterBootstrapAdminBody
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