#[repr(u8)]pub enum RoomType {
OneToOne = 1,
Group = 2,
Public = 3,
}Expand description
The type of a Nextcloud Talk conversation.
Nextcloud Talk identifies conversation types by numeric codes:
- One-to-one conversation (
1) - Group conversation (
2) - Public link conversation (
3)
Variants§
OneToOne = 1
One-to-one direct conversation between two users (1).
Group = 2
Group conversation (2).
Public = 3
Public conversation accessible via public link (3).
Implementations§
Trait Implementations§
impl Copy for RoomType
Source§impl<'de> Deserialize<'de> for RoomType
impl<'de> Deserialize<'de> for RoomType
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 RoomType
impl StructuralPartialEq for RoomType
Auto Trait Implementations§
impl Freeze for RoomType
impl RefUnwindSafe for RoomType
impl Send for RoomType
impl Sync for RoomType
impl Unpin for RoomType
impl UnsafeUnpin for RoomType
impl UnwindSafe for RoomType
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