pub struct User {
pub user_id: String,
pub account_id: String,
pub user_email: String,
pub user_first_name: String,
pub user_last_name: String,
pub user_is_app_admin: bool,
pub user_teams: Vec<Team>,
}Expand description
An authenticated Stackure user.
Fields§
§user_id: StringUnique identifier for the user.
account_id: StringIdentifier of the organization the user belongs to.
user_email: StringUser’s email address.
user_first_name: StringUser’s first name.
user_last_name: StringUser’s last name.
user_is_app_admin: boolWhether the user is an app admin or owner in their Stackure organization, in charge of its apps. What that means in the app is up to the app.
user_teams: Vec<Team>The Stackure teams the user belongs to in their organization, empty when none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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