Struct github_rest::builders::GetPullsBuilder
source · pub struct GetPullsBuilder { /* private fields */ }
Expand description
- tags pulls
- get
/repos/{owner}/{repo}/pulls
- docs https://docs.github.com/rest/reference/pulls#list-pull-requests
List pull requests Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see GitHub’s products in the GitHub Help documentation.
Implementations§
source§impl GetPullsBuilder
impl GetPullsBuilder
pub fn head<T: Into<String>>(self, head: T) -> Self
pub fn base<T: Into<String>>(self, base: T) -> Self
pub fn sort<T: Into<String>>(self, sort: T) -> Self
pub fn direction<T: Into<String>>(self, direction: T) -> Self
pub fn since<T: Into<String>>(self, since: T) -> Self
pub fn per_page<T: Into<String>>(self, per_page: T) -> Self
pub fn page<T: Into<String>>(self, page: T) -> Self
source§impl GetPullsBuilder
impl GetPullsBuilder
pub fn state(self, state: PullRequestState) -> Self
Trait Implementations§
source§impl Builder for GetPullsBuilder
impl Builder for GetPullsBuilder
source§impl Clone for GetPullsBuilder
impl Clone for GetPullsBuilder
source§fn clone(&self) -> GetPullsBuilder
fn clone(&self) -> GetPullsBuilder
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 Default for GetPullsBuilder
impl Default for GetPullsBuilder
source§fn default() -> GetPullsBuilder
fn default() -> GetPullsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GetPullsBuilder
impl Send for GetPullsBuilder
impl Sync for GetPullsBuilder
impl Unpin for GetPullsBuilder
impl UnwindSafe for GetPullsBuilder
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