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