pub struct DiffEntry {
pub sha: String,
pub filename: String,
pub status: Status,
pub additions: i32,
pub deletions: i32,
pub changes: i32,
pub blob_url: String,
pub raw_url: String,
pub contents_url: String,
pub patch: Option<String>,
pub previous_filename: Option<String>,
}
Expand description
DiffEntry : Diff Entry
Fields§
§sha: String
§filename: String
§status: Status
§additions: i32
§deletions: i32
§changes: i32
§blob_url: String
§raw_url: String
§contents_url: String
§patch: Option<String>
§previous_filename: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffEntry
impl<'de> Deserialize<'de> for DiffEntry
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 StructuralPartialEq for DiffEntry
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnwindSafe for DiffEntry
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