Struct github_rest::methods::GetIssuesBody
source · pub struct GetIssuesBody {
pub milestone: Option<String>,
pub state: Option<IssueState>,
pub assignee: Option<String>,
pub creator: Option<String>,
pub mentioned: Option<String>,
pub labels: Option<String>,
pub sort: Option<String>,
pub direction: Option<String>,
pub since: Option<String>,
pub per_page: Option<String>,
pub page: Option<String>,
}
Fields§
§milestone: Option<String>
If an integer is passed, it should refer to a milestone by its number field. If the string * is passed, issues with any milestone are accepted. If the string none is passed, issues without milestones are returned.
state: Option<IssueState>
Indicates the state of the issues to return. Can be either open, closed, or all. Default: open
assignee: Option<String>
Can be the name of a user. Pass in none for issues with no assigned user, and * for issues assigned to any user.
creator: Option<String>
The user that created the issue.
mentioned: Option<String>
A user that’s mentioned in the issue.
labels: Option<String>
A list of comma separated label names. Example: bug,ui,@high
sort: Option<String>
What to sort results by. Can be either created, updated, comments. Default: created
direction: Option<String>
One of asc (ascending) or desc (descending). Default: desc
since: Option<String>
Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
per_page: Option<String>
Results per page (max 100) Default: 30
page: Option<String>
Page number of the results to fetch. Default: 1
Trait Implementations§
source§impl Clone for GetIssuesBody
impl Clone for GetIssuesBody
source§fn clone(&self) -> GetIssuesBody
fn clone(&self) -> GetIssuesBody
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more