pub struct CommonFriendModel {
pub user_id: Option<i64>,
pub nick_name: Option<Option<String>>,
pub avatar: Option<Option<String>>,
}Fields§
§user_id: Option<i64>§nick_name: Option<Option<String>>§avatar: Option<Option<String>>Implementations§
Source§impl CommonFriendModel
impl CommonFriendModel
pub fn new() -> CommonFriendModel
Trait Implementations§
Source§impl Clone for CommonFriendModel
impl Clone for CommonFriendModel
Source§fn clone(&self) -> CommonFriendModel
fn clone(&self) -> CommonFriendModel
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 CommonFriendModel
impl Debug for CommonFriendModel
Source§impl Default for CommonFriendModel
impl Default for CommonFriendModel
Source§fn default() -> CommonFriendModel
fn default() -> CommonFriendModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommonFriendModel
impl<'de> Deserialize<'de> for CommonFriendModel
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 CommonFriendModel
impl PartialEq for CommonFriendModel
Source§impl Serialize for CommonFriendModel
impl Serialize for CommonFriendModel
impl StructuralPartialEq for CommonFriendModel
Auto Trait Implementations§
impl Freeze for CommonFriendModel
impl RefUnwindSafe for CommonFriendModel
impl Send for CommonFriendModel
impl Sync for CommonFriendModel
impl Unpin for CommonFriendModel
impl UnwindSafe for CommonFriendModel
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