pub struct PrRow {
pub number: i64,
pub title: String,
pub changed_files: i64,
pub additions: i64,
pub deletions: i64,
}Expand description
An open pull request’s size, as one listing call reports it.
Enough for the screen to say whether a change is worth splitting without fetching its head, which would be one network round trip per pull request for a question whose answer is usually no.
Fields§
§number: i64§title: String§changed_files: i64§additions: i64§deletions: i64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrRow
impl<'de> Deserialize<'de> for PrRow
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 PrRow
impl RefUnwindSafe for PrRow
impl Send for PrRow
impl Sync for PrRow
impl Unpin for PrRow
impl UnsafeUnpin for PrRow
impl UnwindSafe for PrRow
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