pub struct PullRequestId(/* private fields */);
Expand description
Pull request id
The PullRequestId
is a unique, numerical id that is used to interact with a pull request
through GitHub’s REST API.
Implementations§
Trait Implementations§
Source§impl Clone for PullRequestId
impl Clone for PullRequestId
Source§fn clone(&self) -> PullRequestId
fn clone(&self) -> PullRequestId
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 PullRequestId
impl Debug for PullRequestId
Source§impl<'de> Deserialize<'de> for PullRequestId
impl<'de> Deserialize<'de> for PullRequestId
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 PullRequestId
impl Display for PullRequestId
Source§impl From<u64> for PullRequestId
impl From<u64> for PullRequestId
Source§fn from(id: u64) -> PullRequestId
fn from(id: u64) -> PullRequestId
Converts to this type from the input type.
Source§impl Hash for PullRequestId
impl Hash for PullRequestId
Source§impl Ord for PullRequestId
impl Ord for PullRequestId
Source§fn cmp(&self, other: &PullRequestId) -> Ordering
fn cmp(&self, other: &PullRequestId) -> 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 PullRequestId
impl PartialEq for PullRequestId
Source§impl PartialOrd for PullRequestId
impl PartialOrd for PullRequestId
Source§impl Serialize for PullRequestId
impl Serialize for PullRequestId
impl Copy for PullRequestId
impl Eq for PullRequestId
impl StructuralPartialEq for PullRequestId
Auto Trait Implementations§
impl Freeze for PullRequestId
impl RefUnwindSafe for PullRequestId
impl Send for PullRequestId
impl Sync for PullRequestId
impl Unpin for PullRequestId
impl UnwindSafe for PullRequestId
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.