pub struct ChatData {
pub toId: String,
pub preview: String,
pub user_session: String,
pub senderAvatar: String,
pub markdown: String,
pub receiverAvatar: String,
pub oId: String,
pub time: String,
pub fromId: String,
pub senderUserName: String,
pub content: String,
pub receiverUserName: String,
}Fields§
§toId: String§preview: String§user_session: String§senderAvatar: String§markdown: String§receiverAvatar: String§oId: String§time: String§fromId: String§senderUserName: String§content: String§receiverUserName: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatData
impl<'de> Deserialize<'de> for ChatData
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 ChatData
impl RefUnwindSafe for ChatData
impl Send for ChatData
impl Sync for ChatData
impl Unpin for ChatData
impl UnsafeUnpin for ChatData
impl UnwindSafe for ChatData
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