pub struct PrFile {
pub filename: String,
pub patch: Option<String>,
pub additions: u32,
pub deletions: u32,
pub status: String,
}Expand description
GitHub API response type for PR changed files.
Fields§
§filename: String§patch: Option<String>§additions: u32§deletions: u32§status: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for PrFile
impl<'de> Deserialize<'de> for PrFile
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 PrFile
impl RefUnwindSafe for PrFile
impl Send for PrFile
impl Sync for PrFile
impl Unpin for PrFile
impl UnsafeUnpin for PrFile
impl UnwindSafe for PrFile
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