pub struct ChatEntry {
pub name: String,
pub id: String,
pub last: Option<ChatLast>,
}Expand description
{ name, id, last } in the TypeScript SDK: one chat in the list.
Fields§
§name: String§id: String§last: Option<ChatLast>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatEntry
impl<'de> Deserialize<'de> for ChatEntry
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 Forget for ChatEntry
impl Freeze for ChatEntry
impl Move for ChatEntry
impl RefUnwindSafe for ChatEntry
impl Send for ChatEntry
impl Sync for ChatEntry
impl Unpin for ChatEntry
impl UnsafeUnpin for ChatEntry
impl UnwindSafe for ChatEntry
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