Struct twilight_model::guild::VanityUrl
source · pub struct VanityUrl {
pub code: String,
}Expand description
Information about a guild’s vanity URL setting.
Fields§
§code: StringCode of the vanity URL.
For example, in an invite of discord.gg/applejack, the code is
applejack.
Trait Implementations§
source§impl<'de> Deserialize<'de> for VanityUrl
impl<'de> Deserialize<'de> for VanityUrl
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<VanityUrl> for VanityUrl
impl PartialEq<VanityUrl> for VanityUrl
impl Eq for VanityUrl
impl StructuralEq for VanityUrl
impl StructuralPartialEq for VanityUrl
Auto Trait Implementations§
impl RefUnwindSafe for VanityUrl
impl Send for VanityUrl
impl Sync for VanityUrl
impl Unpin for VanityUrl
impl UnwindSafe for VanityUrl
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