pub struct InviteGuild {
pub name: String,
pub features: Vec<String>,
pub welcome_screen: Option<WelcomeScreen>,
}Expand description
A struct representing a guild that an invite points to
Fields§
§name: StringThe name of the Guild
features: Vec<String>A list of feature flags the guild has
welcome_screen: Option<WelcomeScreen>The configured welcome screen for public guilds
Trait Implementations§
Source§impl Debug for InviteGuild
impl Debug for InviteGuild
Source§impl<'de> Deserialize<'de> for InviteGuild
impl<'de> Deserialize<'de> for InviteGuild
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 InviteGuild
impl RefUnwindSafe for InviteGuild
impl Send for InviteGuild
impl Sync for InviteGuild
impl Unpin for InviteGuild
impl UnsafeUnpin for InviteGuild
impl UnwindSafe for InviteGuild
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