pub struct ApiUser {
pub id: Option<String>,
pub name: Option<String>,
pub role: Option<ApiUserRole>,
pub enabled: Option<bool>,
pub status: Option<UserStatus>,
pub user_type: Option<UserType>,
}
Fields§
§id: Option<String>
The unique identifier of the user
name: Option<String>
The name of the API Key
role: Option<ApiUserRole>
§enabled: Option<bool>
Whether the user is enabled or not
status: Option<UserStatus>
§user_type: Option<UserType>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiUser
impl<'de> Deserialize<'de> for ApiUser
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
impl StructuralPartialEq for ApiUser
Auto Trait Implementations§
impl Freeze for ApiUser
impl RefUnwindSafe for ApiUser
impl Send for ApiUser
impl Sync for ApiUser
impl Unpin for ApiUser
impl UnwindSafe for ApiUser
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