pub struct SessionChatUpdatedAction {
pub chat: Uri,
pub changes: PartialChatSummary,
}Expand description
One existing chat’s summary fields changed.
Partial-update semantics: only fields present in changes are written;
omitted fields are preserved. Identity fields (resource) MUST NOT be
carried in changes. No-op when no entry with chat exists — clients
SHOULD then wait for a {@link SessionChatAddedAction | session/chatAdded}.
Mirrors the root-channel root/sessionSummaryChanged notification.
Fields§
§chat: UriThe URI of the chat whose summary changed.
changes: PartialChatSummaryMutable summary fields that changed; omitted fields are unchanged.
Identity fields (resource) never change and MUST be omitted by
senders; receivers SHOULD ignore them if present.
Trait Implementations§
Source§impl Clone for SessionChatUpdatedAction
impl Clone for SessionChatUpdatedAction
Source§fn clone(&self) -> SessionChatUpdatedAction
fn clone(&self) -> SessionChatUpdatedAction
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 SessionChatUpdatedAction
impl Debug for SessionChatUpdatedAction
Source§impl<'de> Deserialize<'de> for SessionChatUpdatedAction
impl<'de> Deserialize<'de> for SessionChatUpdatedAction
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 SessionChatUpdatedAction
impl PartialEq for SessionChatUpdatedAction
Source§fn eq(&self, other: &SessionChatUpdatedAction) -> bool
fn eq(&self, other: &SessionChatUpdatedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionChatUpdatedAction
impl Serialize for SessionChatUpdatedAction
impl StructuralPartialEq for SessionChatUpdatedAction
Auto Trait Implementations§
impl Freeze for SessionChatUpdatedAction
impl RefUnwindSafe for SessionChatUpdatedAction
impl Send for SessionChatUpdatedAction
impl Sync for SessionChatUpdatedAction
impl Unpin for SessionChatUpdatedAction
impl UnsafeUnpin for SessionChatUpdatedAction
impl UnwindSafe for SessionChatUpdatedAction
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