pub struct PrFilter {
pub state: StateFilter,
pub mine: bool,
pub review_requested: bool,
pub mentioned: bool,
pub checks: bool,
}Fields§
§state: StateFilter§mine: boolOnly those the current user opened.
review_requested: boolOnly those awaiting the current user’s review.
mentioned: boolOnly those that mention the current user (GitHub: the search API’s
mentions:; GitLab: the to-do list’s mentioned items). Providers
without the notion return nothing.
checks: boolAlso fill checks and has_conflicts where the list endpoint does
not carry them (GitHub: a bounded number of extra requests per
request shown). GitLab always carries them.
Trait Implementations§
impl Eq for PrFilter
impl StructuralPartialEq for PrFilter
Auto Trait Implementations§
impl Forget for PrFilter
impl Freeze for PrFilter
impl Move for PrFilter
impl RefUnwindSafe for PrFilter
impl Send for PrFilter
impl Sync for PrFilter
impl Unpin for PrFilter
impl UnsafeUnpin for PrFilter
impl UnwindSafe for PrFilter
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> 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§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.