Enum unclog::PlatformId
source · pub enum PlatformId {
Issue(u32),
PullRequest(u32),
}
Expand description
Provides a way of referencing a change through the VCS platform.
Variants§
Issue(u32)
The change is referenced by way of issue number.
PullRequest(u32)
The change is referenced by way of pull request number.
Implementations§
Trait Implementations§
source§impl Clone for PlatformId
impl Clone for PlatformId
source§fn clone(&self) -> PlatformId
fn clone(&self) -> PlatformId
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 PlatformId
impl Debug for PlatformId
source§impl PartialEq for PlatformId
impl PartialEq for PlatformId
source§fn eq(&self, other: &PlatformId) -> bool
fn eq(&self, other: &PlatformId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PlatformId
impl Eq for PlatformId
impl StructuralPartialEq for PlatformId
Auto Trait Implementations§
impl RefUnwindSafe for PlatformId
impl Send for PlatformId
impl Sync for PlatformId
impl Unpin for PlatformId
impl UnwindSafe for PlatformId
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.