pub struct Room {
pub token: String,
pub name: String,
pub room_type: RoomType,
pub description: Option<String>,
pub has_password: bool,
pub participant_count: Option<u32>,
}Expand description
A Nextcloud Talk conversation or room.
Models metadata about a conversation such as its unique token, name, conversation type, password protection state, and participant count.
Fields§
§token: StringUnique alphanumeric identifier for the conversation.
name: StringConversation name or display name.
room_type: RoomTypeType of conversation (one-to-one, group, or public link).
description: Option<String>Optional conversation description.
has_password: boolWhether the conversation is protected with a password.
participant_count: Option<u32>Number of participants in the conversation, if reported.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Room
impl<'de> Deserialize<'de> for Room
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
impl Eq for Room
impl StructuralPartialEq for Room
Auto Trait Implementations§
impl Freeze for Room
impl RefUnwindSafe for Room
impl Send for Room
impl Sync for Room
impl Unpin for Room
impl UnsafeUnpin for Room
impl UnwindSafe for Room
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