Struct twilight_model::guild::invite::InviteChannel
source · pub struct InviteChannel {
pub id: Id<ChannelMarker>,
pub name: Option<String>,
pub kind: ChannelType,
}Fields§
§id: Id<ChannelMarker>ID of the channel.
name: Option<String>Name of the channel.
kind: ChannelTypeType of the channel.
Trait Implementations§
source§impl Clone for InviteChannel
impl Clone for InviteChannel
source§fn clone(&self) -> InviteChannel
fn clone(&self) -> InviteChannel
Returns a copy 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 InviteChannel
impl Debug for InviteChannel
source§impl<'de> Deserialize<'de> for InviteChannel
impl<'de> Deserialize<'de> for InviteChannel
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
source§impl Hash for InviteChannel
impl Hash for InviteChannel
source§impl PartialEq<InviteChannel> for InviteChannel
impl PartialEq<InviteChannel> for InviteChannel
source§fn eq(&self, other: &InviteChannel) -> bool
fn eq(&self, other: &InviteChannel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.