pub struct PullRequest {Show 16 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub slug_id: Option<String>,
pub title: Option<String>,
pub number: Option<f64>,
pub source_branch: Option<String>,
pub target_branch: Option<String>,
pub url: Option<String>,
pub status: Option<PullRequestStatus>,
pub merge_settings: Option<Box<PullRequestMergeSettings>>,
pub merge_commit: Option<Box<PullRequestCommit>>,
pub checks: Option<Box<Vec<PullRequestCheck>>>,
pub commits: Option<Box<Vec<PullRequestCommit>>>,
pub creator: Option<Box<User>>,
}Expand description
Internal A pull request in a version control system.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
slug_id: Option<String>The pull request’s unique URL slug.
title: Option<String>The title of the pull request.
number: Option<f64>The number of the pull request in the version control system.
source_branch: Option<String>The source branch of the pull request.
target_branch: Option<String>The target branch of the pull request.
url: Option<String>The URL of the pull request in the version control system.
status: Option<PullRequestStatus>The status of the pull request.
merge_settings: Option<Box<PullRequestMergeSettings>>Merge settings for this pull request.
merge_commit: Option<Box<PullRequestCommit>>The merge commit created when the PR was merged.
checks: Option<Box<Vec<PullRequestCheck>>>Internal The checks associated with the pull request.
commits: Option<Box<Vec<PullRequestCommit>>>ALPHA The commits associated with the pull request.
creator: Option<Box<User>>Internal The user who created the pull request.
Trait Implementations§
Source§impl Clone for PullRequest
impl Clone for PullRequest
Source§fn clone(&self) -> PullRequest
fn clone(&self) -> PullRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more