Struct discord_flows::model::AuditLogEntryId
source · pub struct AuditLogEntryId(pub u64);
Expand description
An identifier for an audit log entry.
Tuple Fields§
§0: u64
Implementations§
source§impl AuditLogEntryId
impl AuditLogEntryId
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<AuditLogEntryId> for AuditLogEntryId
impl AsRef<AuditLogEntryId> for AuditLogEntryId
source§fn as_ref(&self) -> &AuditLogEntryId
fn as_ref(&self) -> &AuditLogEntryId
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for AuditLogEntryId
impl Clone for AuditLogEntryId
source§fn clone(&self) -> AuditLogEntryId
fn clone(&self) -> AuditLogEntryId
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 AuditLogEntryId
impl Debug for AuditLogEntryId
source§impl Default for AuditLogEntryId
impl Default for AuditLogEntryId
source§fn default() -> AuditLogEntryId
fn default() -> AuditLogEntryId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuditLogEntryId
impl<'de> Deserialize<'de> for AuditLogEntryId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AuditLogEntryId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AuditLogEntryId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AuditLogEntryId
impl Display for AuditLogEntryId
source§impl<'a> From<&'a AuditLogEntryId> for AuditLogEntryId
impl<'a> From<&'a AuditLogEntryId> for AuditLogEntryId
source§fn from(id: &'a AuditLogEntryId) -> AuditLogEntryId
fn from(id: &'a AuditLogEntryId) -> AuditLogEntryId
Converts to this type from the input type.
source§impl From<u64> for AuditLogEntryId
impl From<u64> for AuditLogEntryId
source§fn from(id_as_u64: u64) -> AuditLogEntryId
fn from(id_as_u64: u64) -> AuditLogEntryId
Converts to this type from the input type.
source§impl Hash for AuditLogEntryId
impl Hash for AuditLogEntryId
source§impl Ord for AuditLogEntryId
impl Ord for AuditLogEntryId
source§fn cmp(&self, other: &AuditLogEntryId) -> Ordering
fn cmp(&self, other: &AuditLogEntryId) -> 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<AuditLogEntryId> for AuditLogEntryId
impl PartialEq<AuditLogEntryId> for AuditLogEntryId
source§fn eq(&self, other: &AuditLogEntryId) -> bool
fn eq(&self, other: &AuditLogEntryId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u64> for AuditLogEntryId
impl PartialEq<u64> for AuditLogEntryId
source§impl PartialOrd<AuditLogEntryId> for AuditLogEntryId
impl PartialOrd<AuditLogEntryId> for AuditLogEntryId
source§fn partial_cmp(&self, other: &AuditLogEntryId) -> Option<Ordering>
fn partial_cmp(&self, other: &AuditLogEntryId) -> 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 AuditLogEntryId
impl Serialize for AuditLogEntryId
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 AuditLogEntryId
impl Eq for AuditLogEntryId
impl StructuralEq for AuditLogEntryId
impl StructuralPartialEq for AuditLogEntryId
Auto Trait Implementations§
impl RefUnwindSafe for AuditLogEntryId
impl Send for AuditLogEntryId
impl Sync for AuditLogEntryId
impl Unpin for AuditLogEntryId
impl UnwindSafe for AuditLogEntryId
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