pub enum Lookup {
Pr(Target),
Search {
query: String,
after: Option<String>,
listed: u64,
},
Threads {
id: String,
after: String,
},
Contexts {
id: String,
after: Option<String>,
},
Mine(Repo),
}Expand description
One aliased entry in a query.
Variants§
Pr(Target)
Search
A page of a GitHub search; after is the cursor of the previous page
and listed counts the PRs earlier pages returned.
Threads
The next page of a PR’s review threads, by the PR’s node ID.
Contexts
A page of a commit’s check contexts, by the rollup’s node ID.
Mine(Repo)
The open PRs the token’s user opened in a repository on GitLab or Forgejo, which have no search like GitHub’s.
Implementations§
Trait Implementations§
impl Eq for Lookup
impl StructuralPartialEq for Lookup
Auto Trait Implementations§
impl Forget for Lookup
impl Freeze for Lookup
impl Move for Lookup
impl RefUnwindSafe for Lookup
impl Send for Lookup
impl Sync for Lookup
impl Unpin for Lookup
impl UnsafeUnpin for Lookup
impl UnwindSafe for Lookup
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