Struct crev_wot::PkgReviewId
source · [−]pub struct PkgReviewId { /* private fields */ }
Expand description
An unique id for a review by a given author of a given package.
Similar to PackageVersionReviewId
, but where
exact version is not important.
Trait Implementations
sourceimpl Clone for PkgReviewId
impl Clone for PkgReviewId
sourcefn clone(&self) -> PkgReviewId
fn clone(&self) -> PkgReviewId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PkgReviewId
impl Debug for PkgReviewId
sourceimpl From<&Package> for PkgReviewId
impl From<&Package> for PkgReviewId
sourceimpl From<Package> for PkgReviewId
impl From<Package> for PkgReviewId
sourceimpl Hash for PkgReviewId
impl Hash for PkgReviewId
sourceimpl PartialEq<PkgReviewId> for PkgReviewId
impl PartialEq<PkgReviewId> for PkgReviewId
sourcefn eq(&self, other: &PkgReviewId) -> bool
fn eq(&self, other: &PkgReviewId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PkgReviewId) -> bool
fn ne(&self, other: &PkgReviewId) -> bool
This method tests for !=
.
impl Eq for PkgReviewId
impl StructuralEq for PkgReviewId
impl StructuralPartialEq for PkgReviewId
Auto Trait Implementations
impl RefUnwindSafe for PkgReviewId
impl Send for PkgReviewId
impl Sync for PkgReviewId
impl Unpin for PkgReviewId
impl UnwindSafe for PkgReviewId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.