pub struct SyncFriendListData {
pub friends: Vec<Friendship>,
pub groups: Vec<FriendGroup>,
}Expand description
同步好友列表数据
Protocol: mqtt-events.md#sync_friend_list
Fields§
§friends: Vec<Friendship>§groups: Vec<FriendGroup>Trait Implementations§
Source§impl Clone for SyncFriendListData
impl Clone for SyncFriendListData
Source§fn clone(&self) -> SyncFriendListData
fn clone(&self) -> SyncFriendListData
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 SyncFriendListData
impl Debug for SyncFriendListData
Source§impl<'de> Deserialize<'de> for SyncFriendListData
impl<'de> Deserialize<'de> for SyncFriendListData
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
Auto Trait Implementations§
impl Freeze for SyncFriendListData
impl RefUnwindSafe for SyncFriendListData
impl Send for SyncFriendListData
impl Sync for SyncFriendListData
impl Unpin for SyncFriendListData
impl UnsafeUnpin for SyncFriendListData
impl UnwindSafe for SyncFriendListData
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