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
sourceimpl Clone for AuditLogGuildIntegration
impl Clone for AuditLogGuildIntegration
sourcefn clone(&self) -> AuditLogGuildIntegration
fn clone(&self) -> AuditLogGuildIntegration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AuditLogGuildIntegration
impl Debug for AuditLogGuildIntegration
sourceimpl<'de> Deserialize<'de> for AuditLogGuildIntegration
impl<'de> Deserialize<'de> for AuditLogGuildIntegration
sourcefn 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
sourceimpl Hash for AuditLogGuildIntegration
impl Hash for AuditLogGuildIntegration
sourceimpl PartialEq<AuditLogGuildIntegration> for AuditLogGuildIntegration
impl PartialEq<AuditLogGuildIntegration> for AuditLogGuildIntegration
sourcefn eq(&self, other: &AuditLogGuildIntegration) -> bool
fn eq(&self, other: &AuditLogGuildIntegration) -> bool
sourceimpl Serialize for AuditLogGuildIntegration
impl Serialize for AuditLogGuildIntegration
impl Eq for AuditLogGuildIntegration
impl StructuralEq for AuditLogGuildIntegration
impl StructuralPartialEq for AuditLogGuildIntegration
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more