pub struct TextChannel {
pub server: String,
pub name: String,
pub description: Option<String>,
pub last_message_id: Option<String>,
pub nsfw: bool,
}Fields§
§server: String§name: String§description: Option<String>§last_message_id: Option<String>§nsfw: boolTrait Implementations§
Source§impl Clone for TextChannel
impl Clone for TextChannel
Source§fn clone(&self) -> TextChannel
fn clone(&self) -> TextChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextChannel
impl Debug for TextChannel
Source§impl<'de> Deserialize<'de> for TextChannel
impl<'de> Deserialize<'de> for TextChannel
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 TextChannel
impl RefUnwindSafe for TextChannel
impl Send for TextChannel
impl Sync for TextChannel
impl Unpin for TextChannel
impl UnsafeUnpin for TextChannel
impl UnwindSafe for TextChannel
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