pub struct TextMeta {
pub path: String,
pub total_lines: usize,
pub returned_lines: usize,
pub offset: usize,
pub limit: usize,
pub byte_cap: bool,
pub more: bool,
pub sha256: String,
pub mtime_ms: u64,
pub size_bytes: u64,
}Fields§
§path: String§total_lines: usize§returned_lines: usize§offset: usize§limit: usize§byte_cap: bool§more: bool§sha256: String§mtime_ms: u64§size_bytes: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextMeta
impl<'de> Deserialize<'de> for TextMeta
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 TextMeta
impl RefUnwindSafe for TextMeta
impl Send for TextMeta
impl Sync for TextMeta
impl Unpin for TextMeta
impl UnsafeUnpin for TextMeta
impl UnwindSafe for TextMeta
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