pub struct RepositoryId(/* private fields */);
Expand description
Repository id
The RepositoryId
is a unique, numerical id that is used to interact with an account
through GitHub’s REST API.
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryId
impl Clone for RepositoryId
Source§fn clone(&self) -> RepositoryId
fn clone(&self) -> RepositoryId
Returns a duplicate 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 RepositoryId
impl Debug for RepositoryId
Source§impl<'de> Deserialize<'de> for RepositoryId
impl<'de> Deserialize<'de> for RepositoryId
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 RepositoryId
impl Display for RepositoryId
Source§impl From<u64> for RepositoryId
impl From<u64> for RepositoryId
Source§fn from(id: u64) -> RepositoryId
fn from(id: u64) -> RepositoryId
Converts to this type from the input type.
Source§impl Hash for RepositoryId
impl Hash for RepositoryId
Source§impl Ord for RepositoryId
impl Ord for RepositoryId
Source§fn cmp(&self, other: &RepositoryId) -> Ordering
fn cmp(&self, other: &RepositoryId) -> 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 RepositoryId
impl PartialEq for RepositoryId
Source§impl PartialOrd for RepositoryId
impl PartialOrd for RepositoryId
Source§impl Serialize for RepositoryId
impl Serialize for RepositoryId
impl Copy for RepositoryId
impl Eq for RepositoryId
impl StructuralPartialEq for RepositoryId
Auto Trait Implementations§
impl Freeze for RepositoryId
impl RefUnwindSafe for RepositoryId
impl Send for RepositoryId
impl Sync for RepositoryId
impl Unpin for RepositoryId
impl UnwindSafe for RepositoryId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.