Struct azure_devops_rust_api::build::models::PullRequest
source · pub struct PullRequest {
pub links: Option<Value>,
pub author: Option<IdentityRef>,
pub current_state: Option<String>,
pub description: Option<String>,
pub draft: Option<bool>,
pub id: Option<String>,
pub provider_name: Option<String>,
pub source_branch_ref: Option<String>,
pub source_repository_owner: Option<String>,
pub target_branch_ref: Option<String>,
pub target_repository_owner: Option<String>,
pub title: Option<String>,
}Expand description
Represents a pull request object. These are retrieved from Source Providers.
Fields§
§links: Option<Value>Links
current_state: Option<String>Current state of the pull request, e.g. open, merged, closed, conflicts, etc.
description: Option<String>Description for the pull request.
draft: Option<bool>Returns if pull request is draft
id: Option<String>Unique identifier for the pull request
provider_name: Option<String>The name of the provider this pull request is associated with.
source_branch_ref: Option<String>Source branch ref of this pull request
source_repository_owner: Option<String>Owner of the source repository of this pull request
target_branch_ref: Option<String>Target branch ref of this pull request
target_repository_owner: Option<String>Owner of the target repository of this pull request
title: Option<String>Title of the pull request.
Implementations§
source§impl PullRequest
impl PullRequest
Trait Implementations§
source§impl Clone for PullRequest
impl Clone for PullRequest
source§fn clone(&self) -> PullRequest
fn clone(&self) -> PullRequest
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 PullRequest
impl Debug for PullRequest
source§impl Default for PullRequest
impl Default for PullRequest
source§fn default() -> PullRequest
fn default() -> PullRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PullRequest
impl<'de> Deserialize<'de> for PullRequest
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
source§impl PartialEq for PullRequest
impl PartialEq for PullRequest
source§fn eq(&self, other: &PullRequest) -> bool
fn eq(&self, other: &PullRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PullRequest
impl Serialize for PullRequest
impl StructuralPartialEq for PullRequest
Auto Trait Implementations§
impl Freeze for PullRequest
impl RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl UnwindSafe for PullRequest
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