Struct serenity::model::guild::Integration [−][src]
pub struct Integration { pub id: IntegrationId, pub account: IntegrationAccount, pub enabled: bool, pub expire_behaviour: u64, pub expire_grace_period: u64, pub kind: String, pub name: String, pub role_id: RoleId, pub synced_at: u64, pub syncing: bool, pub user: User, }
Various information about integrations.
Fields
id: IntegrationId
account: IntegrationAccount
enabled: bool
expire_behaviour: u64
expire_grace_period: u64
kind: String
name: String
role_id: RoleId
synced_at: u64
syncing: bool
user: User
Trait Implementations
impl Clone for Integration
[src]
impl Clone for Integration
fn clone(&self) -> Integration
[src]
fn clone(&self) -> Integration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Integration
[src]
impl Debug for Integration
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Integration> for IntegrationId
[src]
impl From<Integration> for IntegrationId
fn from(integration: Integration) -> IntegrationId
[src]
fn from(integration: Integration) -> IntegrationId
Gets the Id of integration.
Auto Trait Implementations
impl Send for Integration
impl Send for Integration
impl Sync for Integration
impl Sync for Integration