Struct discord_flows::model::IntegrationId
source · pub struct IntegrationId(pub u64);
Expand description
An identifier for an Integration
Tuple Fields§
§0: u64
Implementations§
source§impl IntegrationId
impl IntegrationId
sourcepub fn created_at(&self) -> Timestamp
pub fn created_at(&self) -> Timestamp
Retrieves the time that the Id was created at.
sourcepub fn as_mut_u64(&mut self) -> &mut u64
pub fn as_mut_u64(&mut self) -> &mut u64
Mutably borrow inner Id.
Trait Implementations§
source§impl AsRef<IntegrationId> for IntegrationId
impl AsRef<IntegrationId> for IntegrationId
source§fn as_ref(&self) -> &IntegrationId
fn as_ref(&self) -> &IntegrationId
Converts this type into a shared reference of the (usually inferred) input type.
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§fn default() -> IntegrationId
fn default() -> IntegrationId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IntegrationId
impl<'de> Deserialize<'de> for IntegrationId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<IntegrationId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<IntegrationId, <__D as Deserializer<'de>>::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<u64> for IntegrationId
impl From<u64> for IntegrationId
source§fn from(id_as_u64: u64) -> IntegrationId
fn from(id_as_u64: u64) -> IntegrationId
Converts to this type from the input type.
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<IntegrationId> for IntegrationId
impl PartialEq<IntegrationId> for IntegrationId
source§fn eq(&self, other: &IntegrationId) -> bool
fn eq(&self, other: &IntegrationId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u64> for IntegrationId
impl PartialEq<u64> for IntegrationId
source§impl PartialOrd<IntegrationId> for IntegrationId
impl PartialOrd<IntegrationId> for IntegrationId
source§fn partial_cmp(&self, other: &IntegrationId) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegrationId) -> 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 IntegrationId
impl Serialize for IntegrationId
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 IntegrationId
impl Eq for IntegrationId
impl StructuralEq for IntegrationId
impl StructuralPartialEq for IntegrationId
Auto Trait Implementations§
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> 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