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