pub struct AuthUser {
pub created_at: Option<DateTime<Utc>>,
pub id: Option<String>,
pub name: Option<String>,
pub display_name: Option<String>,
pub email: Option<String>,
pub avatar_url: Option<String>,
pub role: Option<UserRoleType>,
pub active: Option<bool>,
pub user_account_id: Option<String>,
pub organization: Option<Box<AuthOrganization>>,
pub identity_provider: Option<Box<AuthIdentityProvider>>,
}Expand description
A user that has access to the the resources of an organization.
Fields§
§created_at: Option<DateTime<Utc>>The time at which the entity was created.
id: Option<String>§name: Option<String>The user’s full name.
display_name: Option<String>The user’s display (nick) name. Unique within each organization.
email: Option<String>The user’s email address.
avatar_url: Option<String>An URL to the user’s avatar image.
role: Option<UserRoleType>Whether the user is an organization admin or guest on a database level.
active: Option<bool>Whether the user is active.
user_account_id: Option<String>User account ID the user belongs to.
organization: Option<Box<AuthOrganization>>Organization the user belongs to.
identity_provider: Option<Box<AuthIdentityProvider>>INTERNAL Identity provider the user is managed by.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthUser
impl<'de> Deserialize<'de> for AuthUser
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 GraphQLFields for AuthUser
impl GraphQLFields for AuthUser
Auto Trait Implementations§
impl Freeze for AuthUser
impl RefUnwindSafe for AuthUser
impl Send for AuthUser
impl Sync for AuthUser
impl Unpin for AuthUser
impl UnwindSafe for AuthUser
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