[][src]Struct twilight_model::guild::RoleTags

pub struct RoleTags {
    pub bot_id: Option<UserId>,
    pub integration_id: Option<IntegrationId>,
    pub premium_subscriber: bool,
}

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.

premium_subscriber: bool

Whether this is the guild's premium subscriber role.

Trait Implementations

impl Clone for RoleTags[src]

impl Debug for RoleTags[src]

impl<'de> Deserialize<'de> for RoleTags[src]

impl Eq for RoleTags[src]

impl Hash for RoleTags[src]

impl PartialEq<RoleTags> for RoleTags[src]

impl Serialize for RoleTags[src]

impl StructuralEq for RoleTags[src]

impl StructuralPartialEq for RoleTags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.