pub struct UserResponse {
pub user_id: UserId,
pub status: UserStatus,
pub version: u64,
pub roles: Vec<UserRole>,
pub scopes: Vec<AdminScope>,
pub credentials: Vec<HumanCredentialResponse>,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}Expand description
Full non-secret account state.
Fields§
§user_id: UserId§status: UserStatus§version: u64§roles: Vec<UserRole>§scopes: Vec<AdminScope>§credentials: Vec<HumanCredentialResponse>§created_at: OffsetDateTime§updated_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§impl Debug for UserResponse
impl Debug for UserResponse
Source§impl<'de> Deserialize<'de> for UserResponse
impl<'de> Deserialize<'de> for UserResponse
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 Eq for UserResponse
Source§impl PartialEq for UserResponse
impl PartialEq for UserResponse
Source§impl Serialize for UserResponse
impl Serialize for UserResponse
impl StructuralPartialEq for UserResponse
Auto Trait Implementations§
impl Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnsafeUnpin for UserResponse
impl UnwindSafe for UserResponse
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