Struct octocrab::models::TimelineEventId
source · pub struct TimelineEventId(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl TimelineEventId
impl TimelineEventId
pub fn into_inner(self) -> u64
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl AsRef<u64> for TimelineEventId
impl AsRef<u64> for TimelineEventId
source§impl Clone for TimelineEventId
impl Clone for TimelineEventId
source§fn clone(&self) -> TimelineEventId
fn clone(&self) -> TimelineEventId
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 TimelineEventId
impl Debug for TimelineEventId
source§impl Deref for TimelineEventId
impl Deref for TimelineEventId
source§impl DerefMut for TimelineEventId
impl DerefMut for TimelineEventId
source§impl<'de> Deserialize<'de> for TimelineEventId
impl<'de> Deserialize<'de> for TimelineEventId
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 TimelineEventId
impl Display for TimelineEventId
source§impl From<u64> for TimelineEventId
impl From<u64> for TimelineEventId
source§impl Hash for TimelineEventId
impl Hash for TimelineEventId
source§impl Ord for TimelineEventId
impl Ord for TimelineEventId
source§fn cmp(&self, other: &TimelineEventId) -> Ordering
fn cmp(&self, other: &TimelineEventId) -> 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 for TimelineEventId
impl PartialEq for TimelineEventId
source§fn eq(&self, other: &TimelineEventId) -> bool
fn eq(&self, other: &TimelineEventId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimelineEventId
impl PartialOrd for TimelineEventId
source§fn partial_cmp(&self, other: &TimelineEventId) -> Option<Ordering>
fn partial_cmp(&self, other: &TimelineEventId) -> 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 TimelineEventId
impl Serialize for TimelineEventId
impl Copy for TimelineEventId
impl Eq for TimelineEventId
impl StructuralPartialEq for TimelineEventId
Auto Trait Implementations§
impl Freeze for TimelineEventId
impl RefUnwindSafe for TimelineEventId
impl Send for TimelineEventId
impl Sync for TimelineEventId
impl Unpin for TimelineEventId
impl UnwindSafe for TimelineEventId
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
source§impl<T> FromResponse for Twhere
T: DeserializeOwned,
impl<T> FromResponse for Twhere
T: DeserializeOwned,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.