Struct twilight_model::guild::GuildIntegration [−][src]
pub struct GuildIntegration {Show 16 fields
pub account: IntegrationAccount,
pub application: Option<IntegrationApplication>,
pub enable_emoticons: Option<bool>,
pub enabled: bool,
pub expire_behavior: Option<IntegrationExpireBehavior>,
pub expire_grace_period: Option<u64>,
pub guild_id: Option<GuildId>,
pub id: IntegrationId,
pub kind: String,
pub name: String,
pub revoked: Option<bool>,
pub role_id: Option<RoleId>,
pub subscriber_count: Option<u64>,
pub synced_at: Option<Timestamp>,
pub syncing: Option<bool>,
pub user: Option<User>,
}Fields
account: IntegrationAccountapplication: Option<IntegrationApplication>enable_emoticons: Option<bool>enabled: boolexpire_behavior: Option<IntegrationExpireBehavior>expire_grace_period: Option<u64>guild_id: Option<GuildId>id: IntegrationIdkind: Stringname: Stringrevoked: Option<bool>role_id: Option<RoleId>subscriber_count: Option<u64>synced_at: Option<Timestamp>syncing: Option<bool>user: Option<User>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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for GuildIntegration
impl Send for GuildIntegration
impl Sync for GuildIntegration
impl Unpin for GuildIntegration
impl UnwindSafe for GuildIntegration
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
