pub struct GuildEmbed {
pub enabled: bool,
pub channel_id: Snowflake,
}Expand description
The embed object of a guild.
Fields§
§enabled: boolWhether the embed is enabled.
channel_id: SnowflakeThe channel ID of the embed.
Trait Implementations§
Source§impl Clone for GuildEmbed
impl Clone for GuildEmbed
Source§fn clone(&self) -> GuildEmbed
fn clone(&self) -> GuildEmbed
Returns a duplicate 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 GuildEmbed
impl Debug for GuildEmbed
Source§impl<'de> Deserialize<'de> for GuildEmbed
impl<'de> Deserialize<'de> for GuildEmbed
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 GuildEmbed
impl RefUnwindSafe for GuildEmbed
impl Send for GuildEmbed
impl Sync for GuildEmbed
impl Unpin for GuildEmbed
impl UnwindSafe for GuildEmbed
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