Struct twilight_model::guild::GuildIntegration [−][src]
pub struct GuildIntegration {Show 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<String>,
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<String>syncing: Option<bool>user: Option<User>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
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 GuildIntegrationimpl Send for GuildIntegrationimpl Sync for GuildIntegrationimpl Unpin for GuildIntegrationimpl UnwindSafe for GuildIntegrationBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more