pub struct ModifyGuildIntegrationOptions { /* private fields */ }Expand description
Options for modifying a guild integration.
Implementations§
Source§impl ModifyGuildIntegrationOptions
impl ModifyGuildIntegrationOptions
Sourcepub fn expire_behavior(self, beh: i32) -> Self
pub fn expire_behavior(self, beh: i32) -> Self
Sets the new expire behavior for this integration.
Sourcepub fn expire_grace_period(self, per: i32) -> Self
pub fn expire_grace_period(self, per: i32) -> Self
Sets a new expire grace period for this integration.
Sourcepub fn enable_emoticons(self, opt: bool) -> Self
pub fn enable_emoticons(self, opt: bool) -> Self
Sets whether emoticons should be synced for this integration.
Trait Implementations§
Source§impl Clone for ModifyGuildIntegrationOptions
impl Clone for ModifyGuildIntegrationOptions
Source§fn clone(&self) -> ModifyGuildIntegrationOptions
fn clone(&self) -> ModifyGuildIntegrationOptions
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 Default for ModifyGuildIntegrationOptions
impl Default for ModifyGuildIntegrationOptions
Source§fn default() -> ModifyGuildIntegrationOptions
fn default() -> ModifyGuildIntegrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModifyGuildIntegrationOptions
impl<'de> Deserialize<'de> for ModifyGuildIntegrationOptions
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 ModifyGuildIntegrationOptions
impl RefUnwindSafe for ModifyGuildIntegrationOptions
impl Send for ModifyGuildIntegrationOptions
impl Sync for ModifyGuildIntegrationOptions
impl Unpin for ModifyGuildIntegrationOptions
impl UnwindSafe for ModifyGuildIntegrationOptions
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