struct GhApiPull {
number: u64,
state: String,
html_url: String,
updated_at: String,
draft: bool,
}Expand description
commits/<sha>/pulls REST entry shape. Only the fields the
selection rule reads are deserialised; gh api adds others
(title, body, …) that serde silently drops.
Fields§
§number: u64§state: String§html_url: String§updated_at: String§draft: boolThe row says draft or open; the two read differently to a reviewer, and GitHub’s own word for it is here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GhApiPull
impl<'de> Deserialize<'de> for GhApiPull
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 Freeze for GhApiPull
impl RefUnwindSafe for GhApiPull
impl Send for GhApiPull
impl Sync for GhApiPull
impl Unpin for GhApiPull
impl UnsafeUnpin for GhApiPull
impl UnwindSafe for GhApiPull
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