pub struct Written {
pub file: Option<String>,
pub line: u32,
pub source: Option<String>,
pub lines: u32,
}Expand description
One node’s class, as it was at that commit.
Fields§
§file: Option<String>Relative to the checkout. None for a class with no file behind it.
line: u32Where the class starts, so an editor can open at it.
source: Option<String>None when it is long enough that reading it is opening a file, not
glancing at a panel.
lines: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Written
impl<'de> Deserialize<'de> for Written
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 Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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