pub struct PullreqWithDiffStats {
pub author: Option<Option<Box<UserModel>>>,
pub diff_stats: Box<DiffStats>,
pub merger: Option<Option<Box<UserModel>>>,
pub model: Box<PullreqModel>,
}Fields§
§diff_stats: Box<DiffStats>§merger: Option<Option<Box<UserModel>>>§model: Box<PullreqModel>Implementations§
Source§impl PullreqWithDiffStats
impl PullreqWithDiffStats
pub fn new(diff_stats: DiffStats, model: PullreqModel) -> PullreqWithDiffStats
Trait Implementations§
Source§impl Clone for PullreqWithDiffStats
impl Clone for PullreqWithDiffStats
Source§fn clone(&self) -> PullreqWithDiffStats
fn clone(&self) -> PullreqWithDiffStats
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 PullreqWithDiffStats
impl Debug for PullreqWithDiffStats
Source§impl Default for PullreqWithDiffStats
impl Default for PullreqWithDiffStats
Source§fn default() -> PullreqWithDiffStats
fn default() -> PullreqWithDiffStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullreqWithDiffStats
impl<'de> Deserialize<'de> for PullreqWithDiffStats
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 PullreqWithDiffStats
impl PartialEq for PullreqWithDiffStats
Source§impl Serialize for PullreqWithDiffStats
impl Serialize for PullreqWithDiffStats
impl StructuralPartialEq for PullreqWithDiffStats
Auto Trait Implementations§
impl Freeze for PullreqWithDiffStats
impl RefUnwindSafe for PullreqWithDiffStats
impl Send for PullreqWithDiffStats
impl Sync for PullreqWithDiffStats
impl Unpin for PullreqWithDiffStats
impl UnwindSafe for PullreqWithDiffStats
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