#[non_exhaustive]#[repr(u8)]pub enum IntegrationExpireBehaviour {
RemoveRole,
Kick,
Unknown,
}
Expand description
The behavior once the integration expires.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
source§impl Clone for IntegrationExpireBehaviour
impl Clone for IntegrationExpireBehaviour
source§fn clone(&self) -> IntegrationExpireBehaviour
fn clone(&self) -> IntegrationExpireBehaviour
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 IntegrationExpireBehaviour
impl Debug for IntegrationExpireBehaviour
source§impl<'de> Deserialize<'de> for IntegrationExpireBehaviour
impl<'de> Deserialize<'de> for IntegrationExpireBehaviour
source§fn deserialize<D>(
deserializer: D
) -> Result<IntegrationExpireBehaviour, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<IntegrationExpireBehaviour, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for IntegrationExpireBehaviour
impl Hash for IntegrationExpireBehaviour
source§impl Ord for IntegrationExpireBehaviour
impl Ord for IntegrationExpireBehaviour
source§fn cmp(&self, other: &IntegrationExpireBehaviour) -> Ordering
fn cmp(&self, other: &IntegrationExpireBehaviour) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IntegrationExpireBehaviour> for IntegrationExpireBehaviour
impl PartialEq<IntegrationExpireBehaviour> for IntegrationExpireBehaviour
source§fn eq(&self, other: &IntegrationExpireBehaviour) -> bool
fn eq(&self, other: &IntegrationExpireBehaviour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IntegrationExpireBehaviour> for IntegrationExpireBehaviour
impl PartialOrd<IntegrationExpireBehaviour> for IntegrationExpireBehaviour
source§fn partial_cmp(&self, other: &IntegrationExpireBehaviour) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegrationExpireBehaviour) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for IntegrationExpireBehaviour
impl Serialize for IntegrationExpireBehaviour
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for IntegrationExpireBehaviour
impl Eq for IntegrationExpireBehaviour
impl StructuralEq for IntegrationExpireBehaviour
impl StructuralPartialEq for IntegrationExpireBehaviour
Auto Trait Implementations§
impl RefUnwindSafe for IntegrationExpireBehaviour
impl Send for IntegrationExpireBehaviour
impl Sync for IntegrationExpireBehaviour
impl Unpin for IntegrationExpireBehaviour
impl UnwindSafe for IntegrationExpireBehaviour
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