pub enum GuildCreate {
Unavailable(UnavailableGuild),
Available(Guild),
}
Variants§
Implementations§
Source§impl GuildCreate
impl GuildCreate
Sourcepub const fn id(&self) -> Id<GuildMarker>
pub const fn id(&self) -> Id<GuildMarker>
ID of the guild.
Trait Implementations§
Source§impl Clone for GuildCreate
impl Clone for GuildCreate
Source§fn clone(&self) -> GuildCreate
fn clone(&self) -> GuildCreate
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 GuildCreate
impl Debug for GuildCreate
Source§impl<'de> Deserialize<'de> for GuildCreate
impl<'de> Deserialize<'de> for GuildCreate
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 PartialEq for GuildCreate
impl PartialEq for GuildCreate
Source§impl Serialize for GuildCreate
impl Serialize for GuildCreate
impl Eq for GuildCreate
impl StructuralPartialEq for GuildCreate
Auto Trait Implementations§
impl Freeze for GuildCreate
impl RefUnwindSafe for GuildCreate
impl Send for GuildCreate
impl Sync for GuildCreate
impl Unpin for GuildCreate
impl UnwindSafe for GuildCreate
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