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