pub struct IntegrationId(/* private fields */);
Expand description
An identifier for an Integration
Implementations§
Trait Implementations§
Source§impl AsRef<IntegrationId> for IntegrationId
impl AsRef<IntegrationId> for IntegrationId
Source§impl Clone for IntegrationId
impl Clone for IntegrationId
Source§fn clone(&self) -> IntegrationId
fn clone(&self) -> IntegrationId
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 IntegrationId
impl Debug for IntegrationId
Source§impl Default for IntegrationId
impl Default for IntegrationId
Source§impl<'de> Deserialize<'de> for IntegrationId
impl<'de> Deserialize<'de> for IntegrationId
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 Display for IntegrationId
impl Display for IntegrationId
Source§impl<'a> From<&'a IntegrationId> for IntegrationId
impl<'a> From<&'a IntegrationId> for IntegrationId
Source§fn from(id: &'a IntegrationId) -> IntegrationId
fn from(id: &'a IntegrationId) -> IntegrationId
Converts to this type from the input type.
Source§impl From<Integration> for IntegrationId
impl From<Integration> for IntegrationId
Source§fn from(integration: Integration) -> IntegrationId
fn from(integration: Integration) -> IntegrationId
Gets the Id of integration.
Source§impl From<IntegrationId> for NonZeroI64
impl From<IntegrationId> for NonZeroI64
Source§fn from(id: IntegrationId) -> NonZeroI64
fn from(id: IntegrationId) -> NonZeroI64
Converts to this type from the input type.
Source§impl From<IntegrationId> for NonZeroU64
impl From<IntegrationId> for NonZeroU64
Source§fn from(id: IntegrationId) -> NonZeroU64
fn from(id: IntegrationId) -> NonZeroU64
Converts to this type from the input type.
Source§impl From<IntegrationId> for i64
impl From<IntegrationId> for i64
Source§fn from(id: IntegrationId) -> i64
fn from(id: IntegrationId) -> i64
Converts to this type from the input type.
Source§impl From<IntegrationId> for u64
impl From<IntegrationId> for u64
Source§fn from(id: IntegrationId) -> u64
fn from(id: IntegrationId) -> u64
Converts to this type from the input type.
Source§impl From<NonZero<u64>> for IntegrationId
impl From<NonZero<u64>> for IntegrationId
Source§fn from(id: NonZeroU64) -> IntegrationId
fn from(id: NonZeroU64) -> IntegrationId
Converts to this type from the input type.
Source§impl From<u64> for IntegrationId
impl From<u64> for IntegrationId
Source§fn from(id: u64) -> IntegrationId
fn from(id: u64) -> IntegrationId
Converts to this type from the input type.
Source§impl FromStr for IntegrationId
impl FromStr for IntegrationId
Source§impl Hash for IntegrationId
impl Hash for IntegrationId
Source§impl Ord for IntegrationId
impl Ord for IntegrationId
Source§fn cmp(&self, other: &IntegrationId) -> Ordering
fn cmp(&self, other: &IntegrationId) -> 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<u64> for IntegrationId
impl PartialEq<u64> for IntegrationId
Source§impl PartialEq for IntegrationId
impl PartialEq for IntegrationId
Source§impl PartialOrd for IntegrationId
impl PartialOrd for IntegrationId
Source§impl Serialize for IntegrationId
impl Serialize for IntegrationId
impl Copy for IntegrationId
impl Eq for IntegrationId
impl StructuralPartialEq for IntegrationId
Auto Trait Implementations§
impl Freeze for IntegrationId
impl RefUnwindSafe for IntegrationId
impl Send for IntegrationId
impl Sync for IntegrationId
impl Unpin for IntegrationId
impl UnwindSafe for IntegrationId
Blanket Implementations§
Source§impl<T> ArgumentConvert for Twhere
T: FromStr,
impl<T> ArgumentConvert for Twhere
T: FromStr,
Source§fn convert<'life0, 'async_trait>(
__arg0: impl CacheHttp + 'async_trait,
__arg1: Option<GuildId>,
__arg2: Option<ChannelId>,
s: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<T, <T as ArgumentConvert>::Err>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn convert<'life0, 'async_trait>(
__arg0: impl CacheHttp + 'async_trait,
__arg1: Option<GuildId>,
__arg2: Option<ChannelId>,
s: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<T, <T as ArgumentConvert>::Err>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Parses a string
s
as a command parameter of this type.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> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CloneableStorage for T
impl<T> CloneableStorage for T
fn clone_storage(&self) -> Box<dyn CloneableStorage>
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.