pub struct WebPullRequestDetail {Show 38 fields
pub allow_merge_styles: Option<Vec<String>>,
pub participants: Option<Vec<Value>>,
pub review_comment_count: Option<i64>,
pub author: Option<Value>,
pub can_do_merge: Option<bool>,
pub merge_style: Option<String>,
pub base: Option<Value>,
pub head_repo_slug: Option<String>,
pub status_check_commit_sha: Option<String>,
pub conflict_files: Option<Vec<String>>,
pub commit_statuses: Option<Value>,
pub mergeable_state: Option<String>,
pub reviews: Option<Value>,
pub state: Option<String>,
pub reviewers: Option<Vec<Value>>,
pub body: Option<String>,
pub head_repo_ref: Option<String>,
pub head: Option<Value>,
pub number: Option<String>,
pub body_reactions: Option<Vec<Value>>,
pub settings: Option<Value>,
pub file_count: Option<i64>,
pub head_deleted: Option<bool>,
pub is_ready_for_merge: Option<bool>,
pub last_acted_at: Option<String>,
pub labels: Option<Vec<Value>>,
pub review_count: Option<i64>,
pub blocked_on: Option<String>,
pub is_merged: Option<bool>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub assignees: Option<Vec<Value>>,
pub commit_count: Option<i64>,
pub is_wip: Option<bool>,
pub comment_count: Option<i64>,
pub base_repo_ref: Option<String>,
pub title: Option<String>,
pub conflict_file_count: Option<i64>,
}
Expand description
WebPullRequestDetail 模型
Fields§
§allow_merge_styles: Option<Vec<String>>
§participants: Option<Vec<Value>>
§review_comment_count: Option<i64>
§can_do_merge: Option<bool>
§merge_style: Option<String>
§base: Option<Value>
§head_repo_slug: Option<String>
§status_check_commit_sha: Option<String>
§conflict_files: Option<Vec<String>>
§commit_statuses: Option<Value>
§mergeable_state: Option<String>
§reviews: Option<Value>
§state: Option<String>
§reviewers: Option<Vec<Value>>
§body: Option<String>
§head_repo_ref: Option<String>
§head: Option<Value>
§number: Option<String>
§body_reactions: Option<Vec<Value>>
§settings: Option<Value>
§file_count: Option<i64>
§head_deleted: Option<bool>
§is_ready_for_merge: Option<bool>
§last_acted_at: Option<String>
§labels: Option<Vec<Value>>
§review_count: Option<i64>
§blocked_on: Option<String>
§is_merged: Option<bool>
§created_at: Option<String>
§updated_at: Option<String>
§assignees: Option<Vec<Value>>
§commit_count: Option<i64>
§is_wip: Option<bool>
§comment_count: Option<i64>
§base_repo_ref: Option<String>
§title: Option<String>
§conflict_file_count: Option<i64>
Trait Implementations§
Source§impl Clone for WebPullRequestDetail
impl Clone for WebPullRequestDetail
Source§fn clone(&self) -> WebPullRequestDetail
fn clone(&self) -> WebPullRequestDetail
Returns a duplicate 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 WebPullRequestDetail
impl Debug for WebPullRequestDetail
Source§impl<'de> Deserialize<'de> for WebPullRequestDetail
impl<'de> Deserialize<'de> for WebPullRequestDetail
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
Auto Trait Implementations§
impl Freeze for WebPullRequestDetail
impl RefUnwindSafe for WebPullRequestDetail
impl Send for WebPullRequestDetail
impl Sync for WebPullRequestDetail
impl Unpin for WebPullRequestDetail
impl UnwindSafe for WebPullRequestDetail
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