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