Struct twilight_model::guild::invite::WelcomeScreen
source · pub struct WelcomeScreen {
pub description: Option<String>,
pub welcome_channels: Vec<WelcomeScreenChannel>,
}Fields§
§description: Option<String>Guild description.
welcome_channels: Vec<WelcomeScreenChannel>Channels shown in the welcome screen.
Trait Implementations§
source§impl Clone for WelcomeScreen
impl Clone for WelcomeScreen
source§fn clone(&self) -> WelcomeScreen
fn clone(&self) -> WelcomeScreen
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 WelcomeScreen
impl Debug for WelcomeScreen
source§impl<'de> Deserialize<'de> for WelcomeScreen
impl<'de> Deserialize<'de> for WelcomeScreen
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 WelcomeScreen
impl Hash for WelcomeScreen
source§impl PartialEq<WelcomeScreen> for WelcomeScreen
impl PartialEq<WelcomeScreen> for WelcomeScreen
source§fn eq(&self, other: &WelcomeScreen) -> bool
fn eq(&self, other: &WelcomeScreen) -> bool
This method tests for
self and other values to be equal, and is used
by ==.