Struct twilight_model::gateway::payload::incoming::GuildDelete
source · pub struct GuildDelete {
pub id: Id<GuildMarker>,
pub unavailable: bool,
}
Fields§
§id: Id<GuildMarker>
Trait Implementations§
source§impl Clone for GuildDelete
impl Clone for GuildDelete
source§fn clone(&self) -> GuildDelete
fn clone(&self) -> GuildDelete
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 GuildDelete
impl Debug for GuildDelete
source§impl<'de> Deserialize<'de> for GuildDelete
impl<'de> Deserialize<'de> for GuildDelete
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<GuildDelete> for GuildDelete
impl PartialEq<GuildDelete> for GuildDelete
source§fn eq(&self, other: &GuildDelete) -> bool
fn eq(&self, other: &GuildDelete) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GuildDelete
impl Serialize for GuildDelete
impl Eq for GuildDelete
impl StructuralEq for GuildDelete
impl StructuralPartialEq for GuildDelete
Auto Trait Implementations§
impl RefUnwindSafe for GuildDelete
impl Send for GuildDelete
impl Sync for GuildDelete
impl Unpin for GuildDelete
impl UnwindSafe for GuildDelete
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