Struct roctogen::endpoints::pulls::PullsListParams [−][src]
pub struct PullsListParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the List pull requests endpoint.
Implementations
impl<'req> PullsListParams<'req>
[src]
impl<'req> PullsListParams<'req>
[src]pub fn new() -> Self
[src]
pub fn head(self, head: &'req str) -> Self
[src]
pub fn head(self, head: &'req str) -> Self
[src]Filter pulls by head user or head organization and branch name in the format of user:ref-name
or organization:ref-name
. For example: github:new-script-format
or octocat:test-branch
.
pub fn sort(self, sort: &'req str) -> Self
[src]
pub fn sort(self, sort: &'req str) -> Self
[src]What to sort results by. Can be either created
, updated
, popularity
(comment count) or long-running
(age, filtering by pulls updated in the last month).
Trait Implementations
impl<'req> Default for PullsListParams<'req>
[src]
impl<'req> Default for PullsListParams<'req>
[src]fn default() -> PullsListParams<'req>
[src]
fn default() -> PullsListParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for PullsListParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for PullsListParams<'enc>
[src]impl<'req> Serialize for PullsListParams<'req>
[src]
impl<'req> Serialize for PullsListParams<'req>
[src]