Struct forgejo_api::structs::RepoListPullRequestsQuery
source · pub struct RepoListPullRequestsQuery {
pub state: Option<RepoListPullRequestsQueryState>,
pub sort: Option<RepoListPullRequestsQuerySort>,
pub milestone: Option<u64>,
pub labels: Option<Vec<u64>>,
pub page: Option<u32>,
pub limit: Option<u32>,
}Fields§
§state: Option<RepoListPullRequestsQueryState>State of pull request: open or closed (optional)
sort: Option<RepoListPullRequestsQuerySort>Type of sort
milestone: Option<u64>ID of the milestone
labels: Option<Vec<u64>>Label IDs
page: Option<u32>page number of results to return (1-based)
limit: Option<u32>page size of results
Trait Implementations§
source§impl Clone for RepoListPullRequestsQuery
impl Clone for RepoListPullRequestsQuery
source§fn clone(&self) -> RepoListPullRequestsQuery
fn clone(&self) -> RepoListPullRequestsQuery
Returns a copy of the value. Read more
1.0.0 · 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 Display for RepoListPullRequestsQuery
impl Display for RepoListPullRequestsQuery
source§impl PartialEq for RepoListPullRequestsQuery
impl PartialEq for RepoListPullRequestsQuery
source§fn eq(&self, other: &RepoListPullRequestsQuery) -> bool
fn eq(&self, other: &RepoListPullRequestsQuery) -> bool
This method 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 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