pub struct FriendRequestReceivedData {
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 received event data
Protocol: mqtt-events.md#friend_request_received Note: This event contains the complete FriendRequest object
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 FriendRequestReceivedData
impl Clone for FriendRequestReceivedData
Source§fn clone(&self) -> FriendRequestReceivedData
fn clone(&self) -> FriendRequestReceivedData
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 FriendRequestReceivedData
impl Debug for FriendRequestReceivedData
Source§impl<'de> Deserialize<'de> for FriendRequestReceivedData
impl<'de> Deserialize<'de> for FriendRequestReceivedData
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 FriendRequestReceivedData
impl RefUnwindSafe for FriendRequestReceivedData
impl Send for FriendRequestReceivedData
impl Sync for FriendRequestReceivedData
impl Unpin for FriendRequestReceivedData
impl UnsafeUnpin for FriendRequestReceivedData
impl UnwindSafe for FriendRequestReceivedData
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