pub struct PullreqModel {Show 30 fields
pub activity_seq: Option<Option<i64>>,
pub closed: Option<Option<i64>>,
pub comment_count: i64,
pub commit_count: Option<Option<i64>>,
pub created: i64,
pub created_by: i64,
pub description: String,
pub edited: i64,
pub file_count: Option<Option<i64>>,
pub id: i64,
pub is_draft: bool,
pub merge_base_sha: String,
pub merge_check_status: PullreqMergeCheckStatus,
pub merge_conflicts: Option<Option<Vec<String>>>,
pub merge_method: Option<Option<PullreqMergeMethod>>,
pub merge_sha: Option<Option<String>>,
pub merge_target_sha: Option<Option<String>>,
pub merged: Option<Option<i64>>,
pub merged_by: Option<Option<i64>>,
pub number: i64,
pub source_branch: String,
pub source_repo_id: i64,
pub source_sha: String,
pub state: PullreqState,
pub target_branch: String,
pub target_repo_id: i64,
pub title: String,
pub unresolved_count: i64,
pub updated: i64,
pub version: i64,
}Fields§
§activity_seq: Option<Option<i64>>§closed: Option<Option<i64>>§comment_count: i64§commit_count: Option<Option<i64>>§created: i64§created_by: i64§description: String§edited: i64§file_count: Option<Option<i64>>§id: i64§is_draft: bool§merge_base_sha: String§merge_check_status: PullreqMergeCheckStatus§merge_conflicts: Option<Option<Vec<String>>>§merge_method: Option<Option<PullreqMergeMethod>>§merge_sha: Option<Option<String>>§merge_target_sha: Option<Option<String>>§merged: Option<Option<i64>>§merged_by: Option<Option<i64>>§number: i64§source_branch: String§source_repo_id: i64§source_sha: String§state: PullreqState§target_branch: String§target_repo_id: i64§title: String§unresolved_count: i64§updated: i64§version: i64Implementations§
Source§impl PullreqModel
impl PullreqModel
pub fn new( comment_count: i64, created: i64, created_by: i64, description: String, edited: i64, id: i64, is_draft: bool, merge_base_sha: String, merge_check_status: PullreqMergeCheckStatus, number: i64, source_branch: String, source_repo_id: i64, source_sha: String, state: PullreqState, target_branch: String, target_repo_id: i64, title: String, unresolved_count: i64, updated: i64, version: i64, ) -> PullreqModel
Trait Implementations§
Source§impl Clone for PullreqModel
impl Clone for PullreqModel
Source§fn clone(&self) -> PullreqModel
fn clone(&self) -> PullreqModel
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 PullreqModel
impl Debug for PullreqModel
Source§impl Default for PullreqModel
impl Default for PullreqModel
Source§fn default() -> PullreqModel
fn default() -> PullreqModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullreqModel
impl<'de> Deserialize<'de> for PullreqModel
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 PullreqModel
impl PartialEq for PullreqModel
Source§impl Serialize for PullreqModel
impl Serialize for PullreqModel
impl StructuralPartialEq for PullreqModel
Auto Trait Implementations§
impl Freeze for PullreqModel
impl RefUnwindSafe for PullreqModel
impl Send for PullreqModel
impl Sync for PullreqModel
impl Unpin for PullreqModel
impl UnwindSafe for PullreqModel
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