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