[−][src]Struct gitlab::api::projects::issues::EditIssueBuilder
Builder for EditIssue
.
Implementations
impl<'a> EditIssueBuilder<'a>
[src]
pub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
[src]
The project to add the issue to.
pub fn issue(&mut self, value: u64) -> &mut Self
[src]
The internal IID of the issue.
pub fn title<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
The title of the new issue.
pub fn description<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The description of the issue.
pub fn milestone_id(&mut self, value: u64) -> &mut Self
[src]
The ID of a milestone to add the issue to.
pub fn state_event(&mut self, value: IssueStateEvent) -> &mut Self
[src]
Change the state of the issue.
pub fn updated_at(&mut self, value: DateTime<Utc>) -> &mut Self
[src]
Set the last-updated time for the issue.
pub fn due_date(&mut self, value: NaiveDate) -> &mut Self
[src]
Set the due date for the issue.
pub fn weight(&mut self, value: u64) -> &mut Self
[src]
Set the weight of the issue.
pub fn discussion_locked(&mut self, value: bool) -> &mut Self
[src]
Set whether discussion of the issue should be locked or not.
pub fn epic_id(&mut self, value: u64) -> &mut Self
[src]
The ID of the epic to add the issue to.
pub fn epic_iid(&mut self, value: u64) -> &mut Self
[src]
The internal ID of the epic to add the issue to.
pub fn build(&self) -> Result<EditIssue<'a>, String>
[src]
impl<'a> EditIssueBuilder<'a>
[src]
pub fn issue_iid(&mut self, issue_iid: u64) -> &mut Self
[src]
use issue
instead
Set the issue ID.
pub fn unassign(&mut self) -> &mut Self
[src]
Unassign the issue.
pub fn assignee_id(&mut self, assignee: u64) -> &mut Self
[src]
Assign the issue to a user.
pub fn assignee_ids<I>(&mut self, iter: I) -> &mut Self where
I: Iterator<Item = u64>,
[src]
I: Iterator<Item = u64>,
Assigne the issue to a set of users.
pub fn remove_labels(&mut self) -> &mut Self
[src]
Remove all labels from the issue.
pub fn label<L>(&mut self, label: L) -> &mut Self where
L: Into<Cow<'a, str>>,
[src]
L: Into<Cow<'a, str>>,
Add a label to the issue.
Note that the list of labels sent will replace the set on the instance. This only adds it to the list of labels to add to the set before sending it to the instance.
pub fn labels<I, L>(&mut self, iter: I) -> &mut Self where
I: IntoIterator<Item = L>,
L: Into<Cow<'a, str>>,
[src]
I: IntoIterator<Item = L>,
L: Into<Cow<'a, str>>,
Add a set of labels to the issue.
Note that the list of labels sent will replace the set on the instance. This only adds it to the list of labels to add to the set before sending it to the instance.
Trait Implementations
impl<'a> Clone for EditIssueBuilder<'a>
[src]
fn clone(&self) -> EditIssueBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for EditIssueBuilder<'a>
[src]
fn default() -> EditIssueBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for EditIssueBuilder<'a>
impl<'a> Send for EditIssueBuilder<'a>
impl<'a> Sync for EditIssueBuilder<'a>
impl<'a> Unpin for EditIssueBuilder<'a>
impl<'a> UnwindSafe for EditIssueBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,