pub struct Document {
pub file: File,
pub content: String,
pub track_count: usize,
}Expand description
Exact original text and a count of nonempty, noncomment entry lines.
Fields§
§file: FileCurrently permitted file identity and path.
content: StringUTF-8 content, preserving BOM, whitespace and line endings.
track_count: usizeEntry lines, including repeated paths and URLs; no availability inference.
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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