pub struct Chat {
pub summary: ChatSummary,
pub owner: Owner,
}Expand description
A chat you share with others: the Parrot chat, and whose it is. Signed in with an API key,
its unread is the key’s own place.
Fields§
§summary: ChatSummary§owner: OwnerImplementations§
Trait Implementations§
Source§impl Deref for Chat
impl Deref for Chat
Source§type Target = ChatSummary
type Target = ChatSummary
The resulting type after dereferencing.
Source§fn deref(&self) -> &ChatSummary
fn deref(&self) -> &ChatSummary
Dereferences the value.
Source§impl<'de> Deserialize<'de> for Chat
impl<'de> Deserialize<'de> for Chat
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Chat
impl Freeze for Chat
impl Move for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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