pub struct WebPullRequest {Show 27 fields
pub number: Option<String>,
pub review_comment_count: Option<i64>,
pub is_ready_for_merge: Option<bool>,
pub review_count: Option<i64>,
pub title: Option<String>,
pub is_merged: Option<bool>,
pub file_count: Option<i64>,
pub author: Option<Value>,
pub head_repo_ref: Option<String>,
pub status_check_commit_sha: Option<String>,
pub is_wip: Option<bool>,
pub updated_at: Option<String>,
pub created_at: Option<String>,
pub commit_statuses: Option<Value>,
pub last_acted_at: Option<String>,
pub comment_count: Option<i64>,
pub head_deleted: Option<bool>,
pub commit_count: Option<i64>,
pub merge_style: Option<String>,
pub reviewers: Option<Vec<Value>>,
pub state: Option<String>,
pub base_repo_ref: Option<String>,
pub head_repo_slug: Option<String>,
pub assignees: Option<Vec<Value>>,
pub mergeable_state: Option<String>,
pub blocked_on: Option<String>,
pub labels: Option<Vec<Value>>,
}
Expand description
WebPullRequest 模型
Fields§
§number: Option<String>
§review_comment_count: Option<i64>
§is_ready_for_merge: Option<bool>
§review_count: Option<i64>
§title: Option<String>
§is_merged: Option<bool>
§file_count: Option<i64>
§head_repo_ref: Option<String>
§status_check_commit_sha: Option<String>
§is_wip: Option<bool>
§updated_at: Option<String>
§created_at: Option<String>
§commit_statuses: Option<Value>
§last_acted_at: Option<String>
§comment_count: Option<i64>
§head_deleted: Option<bool>
§commit_count: Option<i64>
§merge_style: Option<String>
§reviewers: Option<Vec<Value>>
§state: Option<String>
§base_repo_ref: Option<String>
§head_repo_slug: Option<String>
§assignees: Option<Vec<Value>>
§mergeable_state: Option<String>
§blocked_on: Option<String>
§labels: Option<Vec<Value>>
Trait Implementations§
Source§impl Clone for WebPullRequest
impl Clone for WebPullRequest
Source§fn clone(&self) -> WebPullRequest
fn clone(&self) -> WebPullRequest
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 WebPullRequest
impl Debug for WebPullRequest
Source§impl<'de> Deserialize<'de> for WebPullRequest
impl<'de> Deserialize<'de> for WebPullRequest
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 WebPullRequest
impl RefUnwindSafe for WebPullRequest
impl Send for WebPullRequest
impl Sync for WebPullRequest
impl Unpin for WebPullRequest
impl UnwindSafe for WebPullRequest
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