pub struct GhItemDetail {
pub item: GhItem,
pub body_html: String,
pub reviewers: Vec<GhReviewer>,
pub check_runs: Vec<GhCheck>,
pub events: Vec<GhEvent>,
pub viewer_can_review: bool,
pub viewer_can_comment: bool,
pub changed_files: Option<u32>,
pub merge_target: Option<MergeTarget>,
pub viewer_approved: bool,
}Expand description
GET /api/gh/item?account=<login>&repo=<owner/name>&number=<n>.
Fields§
§item: GhItem§body_html: String§reviewers: Vec<GhReviewer>Latest state per reviewer, plus requested reviewers as pending (PRs).
check_runs: Vec<GhCheck>PRs, latest commit.
events: Vec<GhEvent>Comments and reviews, newest first (up to 100).
viewer_can_review: bool§viewer_can_comment: bool§changed_files: Option<u32>PRs.
merge_target: Option<MergeTarget>Write eligibility comes from a live, account-specific GitHub read.
viewer_approved: boolTrait Implementations§
Source§impl Clone for GhItemDetail
impl Clone for GhItemDetail
Source§impl Debug for GhItemDetail
impl Debug for GhItemDetail
Source§impl<'de> Deserialize<'de> for GhItemDetail
impl<'de> Deserialize<'de> for GhItemDetail
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
impl Eq for GhItemDetail
Source§impl PartialEq for GhItemDetail
impl PartialEq for GhItemDetail
Source§impl Serialize for GhItemDetail
impl Serialize for GhItemDetail
impl StructuralPartialEq for GhItemDetail
Auto Trait Implementations§
impl Forget for GhItemDetail
impl Freeze for GhItemDetail
impl Move for GhItemDetail
impl RefUnwindSafe for GhItemDetail
impl Send for GhItemDetail
impl Sync for GhItemDetail
impl Unpin for GhItemDetail
impl UnsafeUnpin for GhItemDetail
impl UnwindSafe for GhItemDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.