[][src]Struct serenity::model::id::IntegrationId

pub struct IntegrationId(pub u64);

An identifier for an Integration

Implementations

impl IntegrationId[src]

pub fn created_at(&self) -> DateTime<Utc>[src]

Retrieves the time that the Id was created at.

pub fn as_u64(&self) -> &u64[src]

Immutably borrow inner Id.

pub fn as_mut_u64(&mut self) -> &mut u64[src]

Mutably borrow inner Id.

Trait Implementations

impl AsRef<IntegrationId> for IntegrationId[src]

impl Clone for IntegrationId[src]

impl Copy for IntegrationId[src]

impl Debug for IntegrationId[src]

impl Default for IntegrationId[src]

impl<'de> Deserialize<'de> for IntegrationId[src]

impl Display for IntegrationId[src]

impl Eq for IntegrationId[src]

impl<'a> From<&'a IntegrationId> for IntegrationId[src]

impl From<Integration> for IntegrationId[src]

fn from(integration: Integration) -> IntegrationId[src]

Gets the Id of integration.

impl From<IntegrationId> for u64[src]

impl From<IntegrationId> for i64[src]

impl From<u64> for IntegrationId[src]

impl Hash for IntegrationId[src]

impl Ord for IntegrationId[src]

impl PartialEq<IntegrationId> for IntegrationId[src]

impl PartialEq<u64> for IntegrationId[src]

impl PartialOrd<IntegrationId> for IntegrationId[src]

impl Serialize for IntegrationId[src]

impl StructuralEq for IntegrationId[src]

impl StructuralPartialEq for IntegrationId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]