pub struct Reviewer {
pub reviewer_id: u64,
pub reviewer_type: ReviewerType,
pub mode: ReviewerMode,
}Expand description
A reviewer of push protection bypass requests.
Fields§
§reviewer_id: u64The team or role id.
reviewer_type: ReviewerTypeWhether the id names a team or a role.
mode: ReviewerModeWhether the reviewer is asked or skipped.
Trait Implementations§
impl Copy for Reviewer
impl Eq for Reviewer
Source§impl Ord for Reviewer
impl Ord for Reviewer
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Reviewer
impl PartialOrd for Reviewer
impl StructuralPartialEq for Reviewer
Auto Trait Implementations§
impl Freeze for Reviewer
impl RefUnwindSafe for Reviewer
impl Send for Reviewer
impl Sync for Reviewer
impl Unpin for Reviewer
impl UnsafeUnpin for Reviewer
impl UnwindSafe for Reviewer
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.