pub struct Chat {
pub creator: Option<i64>,
pub domain_id: i64,
pub guid: String,
pub prefix: String,
pub roomname: Option<String>,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Group or event chat room synchronized with Matrix.
Fields§
§creator: Option<i64>Person ID recorded as the room creator. 0 represents a system user.
domain_id: i64ID of the group (ctg) or service-planning event (cte) associated with the room.
guid: StringStable ChurchTools chat identifier, not a Matrix room ID.
prefix: Stringctg identifies a group and cte identifies a service-planning event.
Allowed values: cte, ctg.
roomname: Option<String>Display name of the room.
status: StringRoom lifecycle status. STARTING awaits confirmation from the central chat service.
Allowed values: NOT_STARTED, STARTED, STARTING, STOPPED.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chat
impl<'de> Deserialize<'de> for Chat
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
impl StructuralPartialEq for Chat
Auto Trait Implementations§
impl Freeze 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