pub struct IssuesUpdateRequest {
pub title: Option<Option<Box<IssuesUpdateRequestTitle>>>,
pub body: Option<Option<String>>,
pub assignee: Option<Option<String>>,
pub state: Option<State>,
pub state_reason: Option<Option<StateReason>>,
pub milestone: Option<Option<Box<IssuesUpdateRequestMilestone>>>,
pub labels: Option<Vec<IssuesCreateRequestLabelsInner>>,
pub assignees: Option<Vec<String>>,
}
Fields§
§title: Option<Option<Box<IssuesUpdateRequestTitle>>>
§body: Option<Option<String>>
The contents of the issue.
assignee: Option<Option<String>>
Username to assign to this issue. This field is deprecated.
state: Option<State>
The open or closed state of the issue.
state_reason: Option<Option<StateReason>>
The reason for the state change. Ignored unless state
is changed.
milestone: Option<Option<Box<IssuesUpdateRequestMilestone>>>
§labels: Option<Vec<IssuesCreateRequestLabelsInner>>
Labels to associate with this issue. Pass one or more labels to replace the set of labels on this issue. Send an empty array ([]
) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.
assignees: Option<Vec<String>>
Usernames to assign to this issue. Pass one or more user logins to replace the set of assignees on this issue. Send an empty array ([]
) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.
Implementations§
Source§impl IssuesUpdateRequest
impl IssuesUpdateRequest
pub fn new() -> IssuesUpdateRequest
Trait Implementations§
Source§impl Clone for IssuesUpdateRequest
impl Clone for IssuesUpdateRequest
Source§fn clone(&self) -> IssuesUpdateRequest
fn clone(&self) -> IssuesUpdateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more