pub struct GetCurrentUserResponse {
pub user: Option<User>,
}
Fields§
§user: Option<User>
Metadata of the user.
Trait Implementations§
Source§impl Clone for GetCurrentUserResponse
impl Clone for GetCurrentUserResponse
Source§fn clone(&self) -> GetCurrentUserResponse
fn clone(&self) -> GetCurrentUserResponse
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 GetCurrentUserResponse
impl Debug for GetCurrentUserResponse
Source§impl Default for GetCurrentUserResponse
impl Default for GetCurrentUserResponse
Source§fn default() -> GetCurrentUserResponse
fn default() -> GetCurrentUserResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCurrentUserResponse
impl<'de> Deserialize<'de> for GetCurrentUserResponse
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 GetCurrentUserResponse
impl PartialEq for GetCurrentUserResponse
impl StructuralPartialEq for GetCurrentUserResponse
Auto Trait Implementations§
impl Freeze for GetCurrentUserResponse
impl RefUnwindSafe for GetCurrentUserResponse
impl Send for GetCurrentUserResponse
impl Sync for GetCurrentUserResponse
impl Unpin for GetCurrentUserResponse
impl UnwindSafe for GetCurrentUserResponse
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