pub struct ChannelMention {
pub guild_id: Id<GuildMarker>,
pub id: Id<ChannelMarker>,
pub kind: ChannelType,
pub name: String,
}
Fields§
§guild_id: Id<GuildMarker>
§id: Id<ChannelMarker>
§kind: ChannelType
§name: String
Trait Implementations§
source§impl Clone for ChannelMention
impl Clone for ChannelMention
source§fn clone(&self) -> ChannelMention
fn clone(&self) -> ChannelMention
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 ChannelMention
impl Debug for ChannelMention
source§impl<'de> Deserialize<'de> for ChannelMention
impl<'de> Deserialize<'de> for ChannelMention
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 ChannelMention
impl Hash for ChannelMention
source§impl PartialEq for ChannelMention
impl PartialEq for ChannelMention
source§impl Serialize for ChannelMention
impl Serialize for ChannelMention
impl Eq for ChannelMention
impl StructuralPartialEq for ChannelMention
Auto Trait Implementations§
impl Freeze for ChannelMention
impl RefUnwindSafe for ChannelMention
impl Send for ChannelMention
impl Sync for ChannelMention
impl Unpin for ChannelMention
impl UnwindSafe for ChannelMention
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)