pub struct SessionChatAddedAction {
pub summary: ChatSummary,
}Expand description
A chat was added to this session’s catalog. Upsert semantics: if a chat
with the same summary.resource already exists, the existing entry is
replaced.
Mirrors the root-channel root/sessionAdded notification.
Fields§
§summary: ChatSummaryThe full summary of the newly added (or upserted) chat.
Trait Implementations§
Source§impl Clone for SessionChatAddedAction
impl Clone for SessionChatAddedAction
Source§fn clone(&self) -> SessionChatAddedAction
fn clone(&self) -> SessionChatAddedAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionChatAddedAction
impl Debug for SessionChatAddedAction
Source§impl<'de> Deserialize<'de> for SessionChatAddedAction
impl<'de> Deserialize<'de> for SessionChatAddedAction
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
Source§impl PartialEq for SessionChatAddedAction
impl PartialEq for SessionChatAddedAction
Source§fn eq(&self, other: &SessionChatAddedAction) -> bool
fn eq(&self, other: &SessionChatAddedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionChatAddedAction
impl Serialize for SessionChatAddedAction
impl StructuralPartialEq for SessionChatAddedAction
Auto Trait Implementations§
impl Freeze for SessionChatAddedAction
impl RefUnwindSafe for SessionChatAddedAction
impl Send for SessionChatAddedAction
impl Sync for SessionChatAddedAction
impl Unpin for SessionChatAddedAction
impl UnsafeUnpin for SessionChatAddedAction
impl UnwindSafe for SessionChatAddedAction
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