pub struct SyncFriendRequest {
pub id: String,
pub from_user_id: String,
pub to_user_id: String,
pub message: Option<String>,
pub status: String,
pub req_count: i32,
pub last_req_at: String,
pub responded_at: Option<String>,
pub responded_message: Option<String>,
pub expires_at: String,
pub created_at: String,
pub updated_at: String,
}Expand description
Friend request sync data
Protocol: data-dictionary.md#FriendRequest Reference: mqtt-events.md#sync_friend_request_list
Fields§
§id: String§from_user_id: String§to_user_id: String§message: Option<String>§status: String§req_count: i32§last_req_at: String§responded_at: Option<String>§responded_message: Option<String>§expires_at: String§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for SyncFriendRequest
impl Clone for SyncFriendRequest
Source§fn clone(&self) -> SyncFriendRequest
fn clone(&self) -> SyncFriendRequest
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 SyncFriendRequest
impl Debug for SyncFriendRequest
Source§impl<'de> Deserialize<'de> for SyncFriendRequest
impl<'de> Deserialize<'de> for SyncFriendRequest
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 SyncFriendRequest
impl RefUnwindSafe for SyncFriendRequest
impl Send for SyncFriendRequest
impl Sync for SyncFriendRequest
impl Unpin for SyncFriendRequest
impl UnsafeUnpin for SyncFriendRequest
impl UnwindSafe for SyncFriendRequest
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