Struct twilight_model::guild::UnavailableGuild
source · pub struct UnavailableGuild {
pub id: Id<GuildMarker>,
pub unavailable: bool,
}Fields§
§id: Id<GuildMarker>Trait Implementations§
source§fn clone(&self) -> UnavailableGuild
fn clone(&self) -> UnavailableGuild
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§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§fn eq(&self, other: &UnavailableGuild) -> bool
fn eq(&self, other: &UnavailableGuild) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more