pub struct RepoListPullRequestsQuery {
pub state: Option<RepoListPullRequestsQueryState>,
pub sort: Option<RepoListPullRequestsQuerySort>,
pub milestone: Option<i64>,
pub labels: Option<Vec<i64>>,
pub poster: Option<String>,
pub base: Option<String>,
pub head: Option<String>,
}Fields§
§state: Option<RepoListPullRequestsQueryState>State of pull request
sort: Option<RepoListPullRequestsQuerySort>Type of sort
milestone: Option<i64>ID of the milestone
labels: Option<Vec<i64>>Label IDs
poster: Option<String>Filter by pull request author
base: Option<String>Filter by base branch name
head: Option<String>Filter by head branch name
Trait Implementations§
Source§impl Clone for RepoListPullRequestsQuery
impl Clone for RepoListPullRequestsQuery
Source§fn clone(&self) -> RepoListPullRequestsQuery
fn clone(&self) -> RepoListPullRequestsQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RepoListPullRequestsQuery
impl Debug for RepoListPullRequestsQuery
Source§impl Default for RepoListPullRequestsQuery
impl Default for RepoListPullRequestsQuery
Source§fn default() -> RepoListPullRequestsQuery
fn default() -> RepoListPullRequestsQuery
Returns the “default value” for a type. Read more
Source§impl PartialEq for RepoListPullRequestsQuery
impl PartialEq for RepoListPullRequestsQuery
Source§fn eq(&self, other: &RepoListPullRequestsQuery) -> bool
fn eq(&self, other: &RepoListPullRequestsQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepoListPullRequestsQuery
Auto Trait Implementations§
impl Freeze for RepoListPullRequestsQuery
impl RefUnwindSafe for RepoListPullRequestsQuery
impl Send for RepoListPullRequestsQuery
impl Sync for RepoListPullRequestsQuery
impl Unpin for RepoListPullRequestsQuery
impl UnsafeUnpin for RepoListPullRequestsQuery
impl UnwindSafe for RepoListPullRequestsQuery
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