pub struct DiffDelta {
pub status: String,
pub old_file: Option<String>,
pub new_file: Option<String>,
}Expand description
A single delta entry in a diff.
Fields§
§status: String§old_file: Option<String>§new_file: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffDelta
impl<'de> Deserialize<'de> for DiffDelta
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 DiffDelta
impl RefUnwindSafe for DiffDelta
impl Send for DiffDelta
impl Sync for DiffDelta
impl Unpin for DiffDelta
impl UnsafeUnpin for DiffDelta
impl UnwindSafe for DiffDelta
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