pub struct GhItem {Show 20 fields
pub id: String,
pub key: String,
pub kind: ItemKind,
pub repo: String,
pub number: u32,
pub title: String,
pub url: String,
pub state: PrState,
pub author: Option<GhUser>,
pub assignees: Vec<GhUser>,
pub labels: Vec<GhLabel>,
pub comments: u32,
pub created_at: String,
pub updated_at: String,
pub review_decision: Option<ReviewDecision>,
pub checks: Option<CheckState>,
pub additions: Option<u32>,
pub deletions: Option<u32>,
pub head_ref: Option<String>,
pub base_ref: Option<String>,
}Expand description
One row. id is the GraphQL node id (used for writes); key is
owner/name#number.
Fields§
§id: String§key: String§kind: ItemKind§repo: Stringowner/name.
number: u32§title: String§url: String§state: PrStatePrState or IssueState; issues use only open and closed.
assignees: Vec<GhUser>§labels: Vec<GhLabel>§comments: u32§created_at: String§updated_at: String§review_decision: Option<ReviewDecision>§checks: Option<CheckState>None: no checks.
additions: Option<u32>§deletions: Option<u32>§head_ref: Option<String>§base_ref: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GhItem
impl<'de> Deserialize<'de> for GhItem
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 GhItem
impl StructuralPartialEq for GhItem
Auto Trait Implementations§
impl Forget for GhItem
impl Freeze for GhItem
impl Move for GhItem
impl RefUnwindSafe for GhItem
impl Send for GhItem
impl Sync for GhItem
impl Unpin for GhItem
impl UnsafeUnpin for GhItem
impl UnwindSafe for GhItem
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.