pub struct FileSnapshot {
pub path: String,
pub content: String,
pub hash: String,
pub size: usize,
pub truncated: bool,
pub range: Option<LineRange>,
}Fields§
§path: String§content: String§hash: String§size: usize§truncated: bool§range: Option<LineRange>Trait Implementations§
Source§impl Clone for FileSnapshot
impl Clone for FileSnapshot
Source§impl Debug for FileSnapshot
impl Debug for FileSnapshot
Auto Trait Implementations§
impl Forget for FileSnapshot
impl Freeze for FileSnapshot
impl RefUnwindSafe for FileSnapshot
impl Send for FileSnapshot
impl Sync for FileSnapshot
impl Unpin for FileSnapshot
impl UnsafeUnpin for FileSnapshot
impl UnwindSafe for FileSnapshot
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