pub struct GuildIntegration {
pub id: Snowflake,
pub name: String,
pub kind: String,
pub enabled: bool,
pub syncing: bool,
pub role_id: Snowflake,
pub expire_behavior: i32,
pub expire_grace_period: i32,
pub user: User,
pub account: IntegrationAccount,
pub synced_at: DateTime<FixedOffset>,
}Fields§
§id: SnowflakeThe snowflake ID of this integration.
name: StringThe name of this integration.
kind: String§enabled: boolWhether or not this integration is enabled.
syncing: boolWhether or not this integration is syncing.
role_id: SnowflakeThe “subscribers” role for this integration.
expire_behavior: i32The behavior of expiring subscribers.
expire_grace_period: i32The grace period before expiring subscribers.
user: UserThe user of this integration.
account: IntegrationAccountThe integration account information.
synced_at: DateTime<FixedOffset>When this integration was last synced.
Trait Implementations§
Source§impl Clone for GuildIntegration
impl Clone for GuildIntegration
Source§fn clone(&self) -> GuildIntegration
fn clone(&self) -> GuildIntegration
Returns a duplicate 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 GuildIntegration
impl Debug for GuildIntegration
Source§impl<'de> Deserialize<'de> for GuildIntegration
impl<'de> Deserialize<'de> for GuildIntegration
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
Auto Trait Implementations§
impl Freeze for GuildIntegration
impl RefUnwindSafe for GuildIntegration
impl Send for GuildIntegration
impl Sync for GuildIntegration
impl Unpin for GuildIntegration
impl UnwindSafe for GuildIntegration
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