pub struct ResolvePullRequests { /* private fields */ }Expand description
Asks for short summaries of pull requests by canonical
owner/repository#number key, read with the responder’s current account.
Implementations§
Source§impl ResolvePullRequests
impl ResolvePullRequests
Sourcepub fn new(keys: impl IntoIterator<Item = impl AsRef<str>>) -> Self
pub fn new(keys: impl IntoIterator<Item = impl AsRef<str>>) -> Self
Keeps the first MAX_RESOLVE distinct qualified keys, in order,
written as PullRequestLink::key writes them. Others are dropped.
Sourcepub fn refresh(self) -> Self
pub fn refresh(self) -> Self
Revalidate these specific keys in the background while returning any current answers. The responder retains its normal read deduplication.
pub fn refresh_requested(&self) -> bool
pub fn keys(&self) -> &[String]
Trait Implementations§
Source§impl Clone for ResolvePullRequests
impl Clone for ResolvePullRequests
impl Eq for ResolvePullRequests
Source§impl PartialEq for ResolvePullRequests
impl PartialEq for ResolvePullRequests
Source§impl Request for ResolvePullRequests
impl Request for ResolvePullRequests
impl StructuralPartialEq for ResolvePullRequests
Auto Trait Implementations§
impl Forget for ResolvePullRequests
impl Freeze for ResolvePullRequests
impl Move for ResolvePullRequests
impl RefUnwindSafe for ResolvePullRequests
impl Send for ResolvePullRequestswhere
RawVecInner: Send,
impl Sync for ResolvePullRequestswhere
RawVecInner: Sync,
impl Unpin for ResolvePullRequests
impl UnsafeUnpin for ResolvePullRequests
impl UnwindSafe for ResolvePullRequestswhere
RawVecInner: UnwindSafe,
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