pub struct PullRequestQuery {
pub filter: PullRequestFilter,
pub include_completed: bool,
pub limit: Option<u32>,
pub decorate: bool,
}Fields§
§filter: PullRequestFilter§include_completed: bool§limit: Option<u32>§decorate: boolWhether to spend extra per-PR calls filling the fields a provider’s list endpoint omits
(GitHub leaves out mergeable, changed_files, additions, deletions entirely).
Defaults to true, so no caller loses decoration by accident. Callers that render decorated fields lazily — the dashboard fetches them per visible row — turn it off, and providers that honour it must still bound the work to the rows they finally return, so the cost does not multiply with the size of the repository scope.
Trait Implementations§
Source§impl Clone for PullRequestQuery
impl Clone for PullRequestQuery
Source§impl Debug for PullRequestQuery
impl Debug for PullRequestQuery
Auto Trait Implementations§
impl Freeze for PullRequestQuery
impl RefUnwindSafe for PullRequestQuery
impl Send for PullRequestQuery
impl Sync for PullRequestQuery
impl Unpin for PullRequestQuery
impl UnsafeUnpin for PullRequestQuery
impl UnwindSafe for PullRequestQuery
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