pub struct ChatroomInfo {
pub id: u64,
pub channel_id: u64,
pub name: String,
pub chatroom_type: Option<String>,
pub slow_mode: Option<u32>,
}Expand description
Chatroom information
Fields§
§id: u64Chatroom ID
channel_id: u64Channel ID
name: StringChatroom name
chatroom_type: Option<String>Chatroom type
slow_mode: Option<u32>Slow mode delay in seconds
Trait Implementations§
Source§impl Clone for ChatroomInfo
impl Clone for ChatroomInfo
Source§fn clone(&self) -> ChatroomInfo
fn clone(&self) -> ChatroomInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ChatroomInfo
impl Debug for ChatroomInfo
Source§impl<'de> Deserialize<'de> for ChatroomInfo
impl<'de> Deserialize<'de> for ChatroomInfo
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
Auto Trait Implementations§
impl Freeze for ChatroomInfo
impl RefUnwindSafe for ChatroomInfo
impl Send for ChatroomInfo
impl Sync for ChatroomInfo
impl Unpin for ChatroomInfo
impl UnwindSafe for ChatroomInfo
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