pub enum How {
Added,
Modified,
Deleted,
Renamed {
from: String,
},
}Expand description
What happened to the file.
Renamed is its own arm because a rename and a delete-plus-add are
different facts about the same two trees, and somebody deciding
whether an agent moved code or rewrote it needs the difference.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for How
impl<'de> Deserialize<'de> for How
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 Eq for How
impl StructuralPartialEq for How
Auto Trait Implementations§
impl Freeze for How
impl RefUnwindSafe for How
impl Send for How
impl Sync for How
impl Unpin for How
impl UnsafeUnpin for How
impl UnwindSafe for How
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