pub struct ChatUpdate {
pub creator: Option<i64>,
pub domain_id: Option<i64>,
pub nonce: Option<String>,
pub prefix: Option<String>,
pub roomname: Option<String>,
pub status: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Fields used to update chat metadata or change its lifecycle status. When status is set, the request performs a lifecycle transition.
Fields§
§creator: Option<i64>Person ID recorded as the room creator.
domain_id: Option<i64>ID of the group (ctg) or service-planning event (cte) associated with the room.
nonce: Option<String>Synchronization token for central chat service callbacks.
prefix: Option<String>ctg identifies a group and cte identifies a service-planning event.
Allowed values: cte, ctg.
roomname: Option<String>Display name of the room.
status: Option<String>Requested lifecycle status.
Allowed values: STARTED, STOPPED.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ChatUpdate
impl Clone for ChatUpdate
Source§impl Debug for ChatUpdate
impl Debug for ChatUpdate
Source§impl Default for ChatUpdate
impl Default for ChatUpdate
Source§impl<'de> Deserialize<'de> for ChatUpdate
impl<'de> Deserialize<'de> for ChatUpdate
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 ChatUpdate
impl PartialEq for ChatUpdate
Source§impl Serialize for ChatUpdate
impl Serialize for ChatUpdate
impl StructuralPartialEq for ChatUpdate
Auto Trait Implementations§
impl Freeze for ChatUpdate
impl RefUnwindSafe for ChatUpdate
impl Send for ChatUpdate
impl Sync for ChatUpdate
impl Unpin for ChatUpdate
impl UnsafeUnpin for ChatUpdate
impl UnwindSafe for ChatUpdate
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