pub struct UserResponseDto {
pub avatar_color: UserAvatarColor,
pub email: String,
pub id: String,
pub name: String,
pub profile_changed_at: String,
pub profile_image_path: String,
}Fields§
§avatar_color: UserAvatarColor§email: String§id: String§name: String§profile_changed_at: String§profile_image_path: StringImplementations§
Source§impl UserResponseDto
impl UserResponseDto
pub fn new( avatar_color: UserAvatarColor, email: String, id: String, name: String, profile_changed_at: String, profile_image_path: String, ) -> UserResponseDto
Trait Implementations§
Source§impl Clone for UserResponseDto
impl Clone for UserResponseDto
Source§fn clone(&self) -> UserResponseDto
fn clone(&self) -> UserResponseDto
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 UserResponseDto
impl Debug for UserResponseDto
Source§impl Default for UserResponseDto
impl Default for UserResponseDto
Source§fn default() -> UserResponseDto
fn default() -> UserResponseDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserResponseDto
impl<'de> Deserialize<'de> for UserResponseDto
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 UserResponseDto
impl PartialEq for UserResponseDto
Source§impl Serialize for UserResponseDto
impl Serialize for UserResponseDto
impl StructuralPartialEq for UserResponseDto
Auto Trait Implementations§
impl Freeze for UserResponseDto
impl RefUnwindSafe for UserResponseDto
impl Send for UserResponseDto
impl Sync for UserResponseDto
impl Unpin for UserResponseDto
impl UnsafeUnpin for UserResponseDto
impl UnwindSafe for UserResponseDto
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