Struct twilight_model::guild::audit_log::AuditLogGuildIntegration
source · 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<Id<IntegrationMarker>>,
pub kind: Option<String>,
pub name: Option<String>,
pub role_id: Option<Id<IntegrationMarker>>,
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<Id<IntegrationMarker>>ID of the integration.
kind: Option<String>Type of integration.
name: Option<String>Name of the integration.
role_id: Option<Id<IntegrationMarker>>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§
source§impl Clone for AuditLogGuildIntegration
impl Clone for AuditLogGuildIntegration
source§fn clone(&self) -> AuditLogGuildIntegration
fn clone(&self) -> AuditLogGuildIntegration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AuditLogGuildIntegration
impl Debug for AuditLogGuildIntegration
source§impl<'de> Deserialize<'de> for AuditLogGuildIntegration
impl<'de> Deserialize<'de> for AuditLogGuildIntegration
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
source§impl Hash for AuditLogGuildIntegration
impl Hash for AuditLogGuildIntegration
source§impl PartialEq<AuditLogGuildIntegration> for AuditLogGuildIntegration
impl PartialEq<AuditLogGuildIntegration> for AuditLogGuildIntegration
source§fn eq(&self, other: &AuditLogGuildIntegration) -> bool
fn eq(&self, other: &AuditLogGuildIntegration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.