Struct roctogen::endpoints::search::SearchReposParams [−][src]
pub struct SearchReposParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the Search repositories endpoint.
Implementations
impl<'req> SearchReposParams<'req>
[src]
impl<'req> SearchReposParams<'req>
[src]pub fn new() -> Self
[src]
pub fn q(self, q: &'req str) -> Self
[src]
pub fn q(self, q: &'req str) -> Self
[src]The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see Constructing a search query. See "Searching for repositories" for a detailed list of qualifiers.
pub fn sort(self, sort: &'req str) -> Self
[src]
pub fn sort(self, sort: &'req str) -> Self
[src]Sorts the results of your query by number of stars
, forks
, or help-wanted-issues
or how recently the items were updated
. Default: best match
Trait Implementations
impl<'req> Default for SearchReposParams<'req>
[src]
impl<'req> Default for SearchReposParams<'req>
[src]fn default() -> SearchReposParams<'req>
[src]
fn default() -> SearchReposParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for SearchReposParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for SearchReposParams<'enc>
[src]impl<'req> Serialize for SearchReposParams<'req>
[src]
impl<'req> Serialize for SearchReposParams<'req>
[src]