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