pub struct RegisterBootstrapAdminResponseUser {
pub display_name: String,
pub id: String,
pub identities: Vec<Value>,
pub role: RegisterBootstrapAdminResponseUserRole,
pub username: String,
}Expand description
RegisterBootstrapAdminResponseUser
JSON schema
{
"type": "object",
"required": [
"displayName",
"id",
"identities",
"role",
"username"
],
"properties": {
"displayName": {
"type": "string"
},
"id": {
"type": "string"
},
"identities": {
"type": "array",
"items": {}
},
"role": {
"type": "string",
"enum": [
"user",
"admin"
]
},
"username": {
"type": "string"
}
}
}Fields§
§display_name: String§id: String§identities: Vec<Value>§role: RegisterBootstrapAdminResponseUserRole§username: StringImplementations§
Trait Implementations§
Source§impl Clone for RegisterBootstrapAdminResponseUser
impl Clone for RegisterBootstrapAdminResponseUser
Source§fn clone(&self) -> RegisterBootstrapAdminResponseUser
fn clone(&self) -> RegisterBootstrapAdminResponseUser
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<'de> Deserialize<'de> for RegisterBootstrapAdminResponseUser
impl<'de> Deserialize<'de> for RegisterBootstrapAdminResponseUser
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<&RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
impl From<&RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
Source§fn from(value: &RegisterBootstrapAdminResponseUser) -> Self
fn from(value: &RegisterBootstrapAdminResponseUser) -> Self
Converts to this type from the input type.
Source§impl From<RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
impl From<RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
Source§fn from(value: RegisterBootstrapAdminResponseUser) -> Self
fn from(value: RegisterBootstrapAdminResponseUser) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
impl TryFrom<RegisterBootstrapAdminResponseUser> for RegisterBootstrapAdminResponseUser
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: RegisterBootstrapAdminResponseUser,
) -> Result<Self, ConversionError>
fn try_from( value: RegisterBootstrapAdminResponseUser, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RegisterBootstrapAdminResponseUser
impl RefUnwindSafe for RegisterBootstrapAdminResponseUser
impl Send for RegisterBootstrapAdminResponseUser
impl Sync for RegisterBootstrapAdminResponseUser
impl Unpin for RegisterBootstrapAdminResponseUser
impl UnsafeUnpin for RegisterBootstrapAdminResponseUser
impl UnwindSafe for RegisterBootstrapAdminResponseUser
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