Struct discord_flows::model::channel::PartialGuildChannel
source · pub struct PartialGuildChannel {
pub id: ChannelId,
pub guild_id: GuildId,
pub parent_id: ChannelId,
pub kind: ChannelType,
}Expand description
A partial guild channel.
Fields§
§id: ChannelIdThe channel Id.
guild_id: GuildIdThe channel guild Id.
parent_id: ChannelIdThe channel category Id, or the parent text channel Id for a thread.
kind: ChannelTypeThe channel type.
Trait Implementations§
source§impl Clone for PartialGuildChannel
impl Clone for PartialGuildChannel
source§fn clone(&self) -> PartialGuildChannel
fn clone(&self) -> PartialGuildChannel
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 PartialGuildChannel
impl Debug for PartialGuildChannel
source§impl<'de> Deserialize<'de> for PartialGuildChannel
impl<'de> Deserialize<'de> for PartialGuildChannel
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PartialGuildChannel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PartialGuildChannel, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for PartialGuildChannel
impl Serialize for PartialGuildChannel
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PartialGuildChannel
impl Send for PartialGuildChannel
impl Sync for PartialGuildChannel
impl Unpin for PartialGuildChannel
impl UnwindSafe for PartialGuildChannel
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