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