pub struct Difference {
pub after_blob: Option<BlobMetadata>,
pub before_blob: Option<BlobMetadata>,
pub change_type: Option<String>,
}Expand description
Returns information about a set of differences for a commit specifier.
Fields§
§after_blob: Option<BlobMetadata>Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
before_blob: Option<BlobMetadata>Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
change_type: Option<String>Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
Trait Implementations§
Source§impl Clone for Difference
impl Clone for Difference
Source§fn clone(&self) -> Difference
fn clone(&self) -> Difference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Difference
impl Debug for Difference
Source§impl Default for Difference
impl Default for Difference
Source§fn default() -> Difference
fn default() -> Difference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Difference
impl<'de> Deserialize<'de> for Difference
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 PartialEq for Difference
impl PartialEq for Difference
impl StructuralPartialEq for Difference
Auto Trait Implementations§
impl Freeze for Difference
impl RefUnwindSafe for Difference
impl Send for Difference
impl Sync for Difference
impl Unpin for Difference
impl UnwindSafe for Difference
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