pub struct PullreqReviewerModel {
pub created: i64,
pub created_by: i64,
pub id: i64,
pub latest_review_id: Option<Option<i64>>,
pub pullreq_id: i64,
pub repo_id: i64,
pub review_decision: PullreqReviewDecision,
pub sha: String,
pub type: PullreqReviewerType,
pub updated: i64,
pub user_id: i64,
}Fields§
§created: i64§created_by: i64§id: i64§latest_review_id: Option<Option<i64>>§pullreq_id: i64§repo_id: i64§review_decision: PullreqReviewDecision§sha: String§type: PullreqReviewerType§updated: i64§user_id: i64Implementations§
Source§impl PullreqReviewerModel
impl PullreqReviewerModel
pub fn new( created: i64, created_by: i64, id: i64, pullreq_id: i64, repo_id: i64, review_decision: PullreqReviewDecision, sha: String, type: PullreqReviewerType, updated: i64, user_id: i64, ) -> PullreqReviewerModel
Trait Implementations§
Source§impl Clone for PullreqReviewerModel
impl Clone for PullreqReviewerModel
Source§fn clone(&self) -> PullreqReviewerModel
fn clone(&self) -> PullreqReviewerModel
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 PullreqReviewerModel
impl Debug for PullreqReviewerModel
Source§impl Default for PullreqReviewerModel
impl Default for PullreqReviewerModel
Source§fn default() -> PullreqReviewerModel
fn default() -> PullreqReviewerModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullreqReviewerModel
impl<'de> Deserialize<'de> for PullreqReviewerModel
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 PullreqReviewerModel
impl PartialEq for PullreqReviewerModel
Source§impl Serialize for PullreqReviewerModel
impl Serialize for PullreqReviewerModel
impl StructuralPartialEq for PullreqReviewerModel
Auto Trait Implementations§
impl Freeze for PullreqReviewerModel
impl RefUnwindSafe for PullreqReviewerModel
impl Send for PullreqReviewerModel
impl Sync for PullreqReviewerModel
impl Unpin for PullreqReviewerModel
impl UnwindSafe for PullreqReviewerModel
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