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 for AuditLogGuildIntegration
impl PartialEq for AuditLogGuildIntegration
source§impl Serialize for AuditLogGuildIntegration
impl Serialize for AuditLogGuildIntegration
impl Eq for AuditLogGuildIntegration
impl StructuralPartialEq for AuditLogGuildIntegration
Auto Trait Implementations§
impl Freeze for AuditLogGuildIntegration
impl RefUnwindSafe for AuditLogGuildIntegration
impl Send for AuditLogGuildIntegration
impl Sync for AuditLogGuildIntegration
impl Unpin for AuditLogGuildIntegration
impl UnwindSafe for AuditLogGuildIntegration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)