pub struct SimpleUserProfile {
pub name: String,
pub user_path: String,
pub photo: String,
pub biography: Option<String>,
pub created_at: NaiveDateTime,
}
Fields§
§name: String
§user_path: String
§photo: String
§biography: Option<String>
§created_at: NaiveDateTime
Trait Implementations§
Source§impl Clone for SimpleUserProfile
impl Clone for SimpleUserProfile
Source§fn clone(&self) -> SimpleUserProfile
fn clone(&self) -> SimpleUserProfile
Returns a copy 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 SimpleUserProfile
impl Debug for SimpleUserProfile
Source§impl<'de> Deserialize<'de> for SimpleUserProfile
impl<'de> Deserialize<'de> for SimpleUserProfile
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 SimpleUserProfile
impl PartialEq for SimpleUserProfile
impl Eq for SimpleUserProfile
impl StructuralPartialEq for SimpleUserProfile
Auto Trait Implementations§
impl Freeze for SimpleUserProfile
impl RefUnwindSafe for SimpleUserProfile
impl Send for SimpleUserProfile
impl Sync for SimpleUserProfile
impl Unpin for SimpleUserProfile
impl UnwindSafe for SimpleUserProfile
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