pub struct UserMeResponse {
pub id: i64,
pub first_name: String,
pub last_name: String,
pub username: String,
pub email: String,
pub date_joined: String,
pub teams: Vec<TeamDetail>,
}Expand description
UserMeResponse : Details about the currently authenticated user.
Fields§
§id: i64§first_name: String§last_name: String§username: StringThe username of the user.
email: StringThe email address of the user.
date_joined: StringThe date that the user joined Sindri.
teams: Vec<TeamDetail>The teams that the user is a member of.
Implementations§
Trait Implementations§
Source§impl Clone for UserMeResponse
impl Clone for UserMeResponse
Source§fn clone(&self) -> UserMeResponse
fn clone(&self) -> UserMeResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserMeResponse
impl Debug for UserMeResponse
Source§impl Default for UserMeResponse
impl Default for UserMeResponse
Source§fn default() -> UserMeResponse
fn default() -> UserMeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserMeResponse
impl<'de> Deserialize<'de> for UserMeResponse
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 PartialEq for UserMeResponse
impl PartialEq for UserMeResponse
Source§impl Serialize for UserMeResponse
impl Serialize for UserMeResponse
impl StructuralPartialEq for UserMeResponse
Auto Trait Implementations§
impl Freeze for UserMeResponse
impl RefUnwindSafe for UserMeResponse
impl Send for UserMeResponse
impl Sync for UserMeResponse
impl Unpin for UserMeResponse
impl UnwindSafe for UserMeResponse
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