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