pub struct Note {
pub what: String,
pub name: String,
pub now: Option<String>,
pub renamed: Option<String>,
pub since: Option<String>,
}Expand description
A change to one anchored symbol: changed, moved (another file), renamed or gone.
Fields§
§what: String§name: StringThe symbol’s name when the record saw it.
now: Option<String>Where it is now (path:line); absent when gone.
renamed: Option<String>Its name now, when renamed.
since: Option<String>The indexed commit the record saw, to compare against.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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 Note
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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