Struct twilight_model::guild::RoleTags [−][src]
pub struct RoleTags {
pub bot_id: Option<UserId>,
pub integration_id: Option<IntegrationId>,
pub premium_subscriber: bool,
}Expand description
Tags that a Role has.
Fields
bot_id: Option<UserId>ID of the bot the role belongs to.
integration_id: Option<IntegrationId>ID of the integration the role belongs to.
Whether this is the guild’s premium subscriber role.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoleTagsimpl UnwindSafe for RoleTagsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more