pub struct GetMeResponse { /* private fields */ }Implementations§
Source§impl GetMeResponse
impl GetMeResponse
pub fn display_name<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn identities<T>(self, value: T) -> Self
pub fn role<T>(self, value: T) -> Self
pub fn username<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for GetMeResponse
impl Clone for GetMeResponse
Source§fn clone(&self) -> GetMeResponse
fn clone(&self) -> GetMeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetMeResponse
impl Debug for GetMeResponse
Source§impl Default for GetMeResponse
impl Default for GetMeResponse
Source§impl From<GetMeResponse> for GetMeResponse
impl From<GetMeResponse> for GetMeResponse
Source§fn from(value: GetMeResponse) -> Self
fn from(value: GetMeResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetMeResponse> for GetMeResponse
impl TryFrom<GetMeResponse> for GetMeResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetMeResponse) -> Result<Self, ConversionError>
fn try_from(value: GetMeResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetMeResponse
impl RefUnwindSafe for GetMeResponse
impl Send for GetMeResponse
impl Sync for GetMeResponse
impl Unpin for GetMeResponse
impl UnsafeUnpin for GetMeResponse
impl UnwindSafe for GetMeResponse
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