Struct twilight_model::guild::audit_log::AuditLogGuildIntegration [−][src]
pub struct AuditLogGuildIntegration {
pub account: Option<IntegrationAccount>,
pub enabled: Option<bool>,
pub expire_behavior: Option<u64>,
pub expire_grace_period: Option<u64>,
pub id: Option<IntegrationId>,
pub kind: Option<String>,
pub name: Option<String>,
pub role_id: Option<IntegrationId>,
pub synced_at: Option<Timestamp>,
pub syncing: Option<bool>,
pub user: Option<User>,
}Expand description
Information about a guild integration provided in an audit log.
Fields
account: Option<IntegrationAccount>Account of the integration.
enabled: Option<bool>Whether the integration is enabled.
expire_behavior: Option<u64>Behavior of expiring subscribers to the integration.
expire_grace_period: Option<u64>Grace period before expiring users, in days.
id: Option<IntegrationId>ID of the integration.
kind: Option<String>Type of integration.
name: Option<String>Name of the integration.
role_id: Option<IntegrationId>ID that the integration uses for subscribers.
synced_at: Option<Timestamp>When the integration was last synced.
syncing: Option<bool>Whether the integration is syncing.
user: Option<User>User for the integration.
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 AuditLogGuildIntegration
impl Send for AuditLogGuildIntegration
impl Sync for AuditLogGuildIntegration
impl Unpin for AuditLogGuildIntegration
impl UnwindSafe for AuditLogGuildIntegration
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