pub struct UpdateIssueBuilder<'a> { /* private fields */ }
Expand description
Builder for UpdateIssue
.
Implementations§
Source§impl<'a> UpdateIssueBuilder<'a>
impl<'a> UpdateIssueBuilder<'a>
Sourcepub fn project_id(&mut self, value: u64) -> &mut Self
pub fn project_id(&mut self, value: u64) -> &mut Self
project for the issue
Sourcepub fn tracker_id(&mut self, value: u64) -> &mut Self
pub fn tracker_id(&mut self, value: u64) -> &mut Self
tracker for the issue
Sourcepub fn priority_id(&mut self, value: u64) -> &mut Self
pub fn priority_id(&mut self, value: u64) -> &mut Self
issue priority
Sourcepub fn description<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn description<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
issue description
Sourcepub fn category_id(&mut self, value: u64) -> &mut Self
pub fn category_id(&mut self, value: u64) -> &mut Self
issue category
Sourcepub fn version(&mut self, value: u64) -> &mut Self
pub fn version(&mut self, value: u64) -> &mut Self
ID of the Target Versions (previously called ‘Fixed Version’ and still referred to as such in the API)
Sourcepub fn assigned_to_id(&mut self, value: u64) -> &mut Self
pub fn assigned_to_id(&mut self, value: u64) -> &mut Self
user/group id the issue will be assigned to
Sourcepub fn parent_issue_id(&mut self, value: u64) -> &mut Self
pub fn parent_issue_id(&mut self, value: u64) -> &mut Self
Id of the parent issue
Sourcepub fn custom_fields(&mut self, value: Vec<CustomField<'a>>) -> &mut Self
pub fn custom_fields(&mut self, value: Vec<CustomField<'a>>) -> &mut Self
custom field values
Sourcepub fn watcher_user_ids(&mut self, value: Vec<u64>) -> &mut Self
pub fn watcher_user_ids(&mut self, value: Vec<u64>) -> &mut Self
user ids of watchers of the issue
Sourcepub fn is_private(&mut self, value: bool) -> &mut Self
pub fn is_private(&mut self, value: bool) -> &mut Self
is the issue private (only visible to roles that have the relevant permission enabled)
Sourcepub fn estimated_hours(&mut self, value: f64) -> &mut Self
pub fn estimated_hours(&mut self, value: f64) -> &mut Self
estimated hours it will take to implement this issue
Sourcepub fn private_notes(&mut self, value: bool) -> &mut Self
pub fn private_notes(&mut self, value: bool) -> &mut Self
is the added comment/note private
Sourcepub fn uploads(&mut self, value: Vec<UploadedAttachment<'a>>) -> &mut Self
pub fn uploads(&mut self, value: Vec<UploadedAttachment<'a>>) -> &mut Self
attachments (files)
Sourcepub fn build(&self) -> Result<UpdateIssue<'a>, UpdateIssueBuilderError>
pub fn build(&self) -> Result<UpdateIssue<'a>, UpdateIssueBuilderError>
Trait Implementations§
Source§impl<'a> Clone for UpdateIssueBuilder<'a>
impl<'a> Clone for UpdateIssueBuilder<'a>
Source§fn clone(&self) -> UpdateIssueBuilder<'a>
fn clone(&self) -> UpdateIssueBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for UpdateIssueBuilder<'a>
impl<'a> RefUnwindSafe for UpdateIssueBuilder<'a>
impl<'a> Send for UpdateIssueBuilder<'a>
impl<'a> Sync for UpdateIssueBuilder<'a>
impl<'a> Unpin for UpdateIssueBuilder<'a>
impl<'a> UnwindSafe for UpdateIssueBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more