pub struct DiffEntry {
pub path: String,
pub diff_type: String,
pub size_bytes: Option<u64>,
}Expand description
A single entry in a diff listing.
Fields§
§path: StringObject path.
diff_type: String“added”, “removed”, “changed”, or “conflict”.
size_bytes: Option<u64>Size in bytes (only for added / changed).
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
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin 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