Struct twilight_model::guild::VanityUrl [−][src]
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
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
Auto Trait Implementations
impl RefUnwindSafe for VanityUrl
impl UnwindSafe for VanityUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more