pub struct EditEvent {
pub path: String,
pub kind: EditKind,
pub snippet: String,
pub ts: Option<DateTime<Utc>>,
}Expand description
One concrete edit a session made to one file - the evidence chain’s atom.
snippet is a bounded excerpt of the change (the resulting code, or the
created content) so a later reader can see WHAT changed without re-opening
the original session.
Fields§
§path: String§kind: EditKind§snippet: String§ts: Option<DateTime<Utc>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditEvent
impl RefUnwindSafe for EditEvent
impl Send for EditEvent
impl Sync for EditEvent
impl Unpin for EditEvent
impl UnsafeUnpin for EditEvent
impl UnwindSafe for EditEvent
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