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 for WelcomeScreen
impl PartialEq for WelcomeScreen
source§impl Serialize for WelcomeScreen
impl Serialize for WelcomeScreen
impl Eq for WelcomeScreen
impl StructuralPartialEq for WelcomeScreen
Auto Trait Implementations§
impl Freeze for WelcomeScreen
impl RefUnwindSafe for WelcomeScreen
impl Send for WelcomeScreen
impl Sync for WelcomeScreen
impl Unpin for WelcomeScreen
impl UnwindSafe for WelcomeScreen
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
)