pub struct RepoSearchQuery {Show 15 fields
pub q: Option<String>,
pub topic: Option<bool>,
pub include_desc: Option<bool>,
pub uid: Option<i64>,
pub priority_owner_id: Option<i64>,
pub team_id: Option<i64>,
pub starred_by: Option<i64>,
pub private: Option<bool>,
pub is_private: Option<bool>,
pub template: Option<bool>,
pub archived: Option<bool>,
pub mode: Option<String>,
pub exclusive: Option<bool>,
pub sort: Option<RepoSearchQuerySort>,
pub order: Option<RepoSearchQueryOrder>,
}Fields§
§q: Option<String>keyword
topic: Option<bool>Limit search to repositories with keyword as topic
include_desc: Option<bool>include search of keyword within repository description
uid: Option<i64>search only for repos that the user with the given id owns or contributes to
priority_owner_id: Option<i64>repo owner to prioritize in the results
team_id: Option<i64>search only for repos that belong to the given team id
starred_by: Option<i64>search only for repos that the user with the given id has starred
private: Option<bool>include private repositories this user has access to (defaults to true)
is_private: Option<bool>show only public, private or all repositories (defaults to all)
template: Option<bool>include template repositories this user has access to (defaults to true)
archived: Option<bool>show only archived, non-archived or all repositories (defaults to all)
mode: Option<String>type of repository to search for. Supported values are “fork”, “source”, “mirror” and “collaborative”
exclusive: Option<bool>if uid is given, search only for repos that the user owns
sort: Option<RepoSearchQuerySort>sort repos by attribute. Supported values are “alpha”, “created”, “updated”, “size”, “git_size”, “lfs_size”, “stars”, “forks” and “id”. Default is “alpha”
order: Option<RepoSearchQueryOrder>sort order, either “asc” (ascending) or “desc” (descending). Default is “asc”, ignored if “sort” is not specified.
Trait Implementations§
Source§impl Clone for RepoSearchQuery
impl Clone for RepoSearchQuery
Source§fn clone(&self) -> RepoSearchQuery
fn clone(&self) -> RepoSearchQuery
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more