Struct octocrab::models::NotificationId
source · pub struct NotificationId(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl NotificationId
impl NotificationId
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 NotificationId
impl AsRef<u64> for NotificationId
source§impl Clone for NotificationId
impl Clone for NotificationId
source§fn clone(&self) -> NotificationId
fn clone(&self) -> NotificationId
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 NotificationId
impl Debug for NotificationId
source§impl Deref for NotificationId
impl Deref for NotificationId
source§impl DerefMut for NotificationId
impl DerefMut for NotificationId
source§impl<'de> Deserialize<'de> for NotificationId
impl<'de> Deserialize<'de> for NotificationId
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 NotificationId
impl Display for NotificationId
source§impl From<u64> for NotificationId
impl From<u64> for NotificationId
source§impl Hash for NotificationId
impl Hash for NotificationId
source§impl Ord for NotificationId
impl Ord for NotificationId
source§fn cmp(&self, other: &NotificationId) -> Ordering
fn cmp(&self, other: &NotificationId) -> 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 NotificationId
impl PartialEq for NotificationId
source§fn eq(&self, other: &NotificationId) -> bool
fn eq(&self, other: &NotificationId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NotificationId
impl PartialOrd for NotificationId
source§fn partial_cmp(&self, other: &NotificationId) -> Option<Ordering>
fn partial_cmp(&self, other: &NotificationId) -> 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 NotificationId
impl Serialize for NotificationId
impl Copy for NotificationId
impl Eq for NotificationId
impl StructuralPartialEq for NotificationId
Auto Trait Implementations§
impl Freeze for NotificationId
impl RefUnwindSafe for NotificationId
impl Send for NotificationId
impl Sync for NotificationId
impl Unpin for NotificationId
impl UnwindSafe for NotificationId
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.