pub struct RoleTags {
pub bot_id: Option<Snowflake>,
pub integration_id: Option<Snowflake>,
pub premium_subscriber: Option<()>,
pub subscription_listing_id: Option<Snowflake>,
pub available_for_purchase: Option<()>,
pub guild_connections: Option<()>,
}Expand description
Tags for a role.
Fields§
§bot_id: Option<Snowflake>The ID of the bot this role belongs to.
integration_id: Option<Snowflake>The ID of the integration this role belongs to.
Whether this is the guild’s premium subscriber role.
subscription_listing_id: Option<Snowflake>The ID of the subscription listing for this role.
available_for_purchase: Option<()>Whether this role is available for purchase.
guild_connections: Option<()>Whether this role is a guild’s linked role.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoleTags
impl<'de> Deserialize<'de> for RoleTags
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
Auto Trait Implementations§
impl Freeze for RoleTags
impl RefUnwindSafe for RoleTags
impl Send for RoleTags
impl Sync for RoleTags
impl Unpin for RoleTags
impl UnwindSafe for RoleTags
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