pub struct PullRequestReviewer {
pub reviewer: Option<Principal>,
pub added_by: Option<Principal>,
pub review_decision: Option<String>,
pub sha: Option<String>,
pub kind_type: Option<String>,
pub created: Option<i64>,
pub updated: Option<i64>,
}Expand description
A reviewer on a pull request, and where their review stands.
Fields§
§reviewer: Option<Principal>§added_by: Option<Principal>§review_decision: Option<String>approved, changereq, pending or reviewed.
sha: Option<String>The commit the latest review was given against.
kind_type: Option<String>assigned, requested or self_assigned.
created: Option<i64>§updated: Option<i64>Implementations§
Trait Implementations§
Source§impl Clone for PullRequestReviewer
impl Clone for PullRequestReviewer
Source§impl Debug for PullRequestReviewer
impl Debug for PullRequestReviewer
Source§impl Default for PullRequestReviewer
impl Default for PullRequestReviewer
Source§impl<'de> Deserialize<'de> for PullRequestReviewer
impl<'de> Deserialize<'de> for PullRequestReviewer
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
Auto Trait Implementations§
impl Forget for PullRequestReviewer
impl Freeze for PullRequestReviewer
impl RefUnwindSafe for PullRequestReviewer
impl Send for PullRequestReviewer
impl Sync for PullRequestReviewer
impl Unpin for PullRequestReviewer
impl UnsafeUnpin for PullRequestReviewer
impl UnwindSafe for PullRequestReviewer
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