pub struct DiffEntry {
pub additions: i64,
pub blob_url: String,
pub changes: i64,
pub contents_url: String,
pub deletions: i64,
pub filename: String,
pub patch: String,
pub previous_filename: String,
pub raw_url: String,
pub sha: String,
pub status: String,
}
Expand description
Diff Entry
Fields§
§additions: i64
§blob_url: String
§changes: i64
§contents_url: String
§deletions: i64
§filename: String
§patch: String
§previous_filename: String
§raw_url: String
§sha: String
§status: String
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
source§impl JsonSchema for DiffEntry
impl JsonSchema for DiffEntry
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<DiffEntry> for DiffEntry
impl PartialEq<DiffEntry> for DiffEntry
impl StructuralPartialEq for DiffEntry
Auto Trait Implementations§
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