pub struct GitPullRequestCreateOptions {
pub description: Option<String>,
pub is_draft: Option<bool>,
pub labels: Vec<WebApiCreateTagRequestData>,
pub source_ref_name: String,
pub target_ref_name: String,
pub title: String,
pub merge_options: Option<GitPullRequestMergeOptions>,
pub completion_options: Option<GitPullRequestCompletionOptions>,
pub work_item_refs: Vec<ResourceRef>,
pub reviewers: Vec<IdentityId>,
}Expand description
Pull Request create options
Fields§
§description: Option<String>The description of the pull request.
is_draft: Option<bool>Draft / WIP pull request.
labels: Vec<WebApiCreateTagRequestData>The labels associated with the pull request.
source_ref_name: StringThe name of the source branch of the pull request.
target_ref_name: StringThe name of the target branch of the pull request.
title: StringThe title of the pull request.
merge_options: Option<GitPullRequestMergeOptions>The options which are used when a pull request merge is created.
completion_options: Option<GitPullRequestCompletionOptions>Preferences about how the pull request should be completed.
work_item_refs: Vec<ResourceRef>Any work item references associated with this pull request.
reviewers: Vec<IdentityId>A list of reviewers on the pull request.
Implementations§
Trait Implementations§
Source§impl Clone for GitPullRequestCreateOptions
impl Clone for GitPullRequestCreateOptions
Source§fn clone(&self) -> GitPullRequestCreateOptions
fn clone(&self) -> GitPullRequestCreateOptions
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 moreSource§impl Debug for GitPullRequestCreateOptions
impl Debug for GitPullRequestCreateOptions
Source§impl<'de> Deserialize<'de> for GitPullRequestCreateOptions
impl<'de> Deserialize<'de> for GitPullRequestCreateOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GitPullRequestCreateOptions
Auto Trait Implementations§
impl Freeze for GitPullRequestCreateOptions
impl RefUnwindSafe for GitPullRequestCreateOptions
impl Send for GitPullRequestCreateOptions
impl Sync for GitPullRequestCreateOptions
impl Unpin for GitPullRequestCreateOptions
impl UnwindSafe for GitPullRequestCreateOptions
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