[−][src]Enum twilight_model::channel::GuildChannel
Variants
Category(CategoryChannel)Text(TextChannel)Voice(VoiceChannel)Implementations
impl GuildChannel[src]
pub fn guild_id(&self) -> Option<GuildId>[src]
Return the guild ID of the inner guild channel.
pub fn id(&self) -> ChannelId[src]
Return the ID of the inner guild channel.
pub fn name(&self) -> &str[src]
Return an immutable reference to the name of the inner guild channel.
Trait Implementations
impl Clone for GuildChannel[src]
fn clone(&self) -> GuildChannel[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GuildChannel[src]
impl<'de> Deserialize<'de> for GuildChannel[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
impl Eq for GuildChannel[src]
impl Hash for GuildChannel[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'_> Key<'_, ChannelId> for GuildChannel[src]
impl PartialEq<GuildChannel> for GuildChannel[src]
fn eq(&self, other: &GuildChannel) -> bool[src]
fn ne(&self, other: &GuildChannel) -> bool[src]
impl Serialize for GuildChannel[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for GuildChannel[src]
impl StructuralPartialEq for GuildChannel[src]
Auto Trait Implementations
impl RefUnwindSafe for GuildChannel
impl Send for GuildChannel
impl Sync for GuildChannel
impl Unpin for GuildChannel
impl UnwindSafe for GuildChannel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,