pub struct ReadFileOutput {
pub path: PathBuf,
pub size_bytes: usize,
pub sha256: String,
pub requested_start: usize,
pub requested_end: usize,
pub served_start: usize,
pub served_end: usize,
pub total_lines: usize,
pub body: String,
pub warning: Option<String>,
}Fields§
§path: PathBuf§size_bytes: usize§sha256: String§requested_start: usize§requested_end: usize§served_start: usize§served_end: usize§total_lines: usize§body: String§warning: Option<String>Implementations§
Source§impl ReadFileOutput
impl ReadFileOutput
pub fn fidelity_header(&self) -> String
Trait Implementations§
Source§impl Clone for ReadFileOutput
impl Clone for ReadFileOutput
Source§fn clone(&self) -> ReadFileOutput
fn clone(&self) -> ReadFileOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadFileOutput
impl Debug for ReadFileOutput
Source§impl PartialEq for ReadFileOutput
impl PartialEq for ReadFileOutput
impl Eq for ReadFileOutput
impl StructuralPartialEq for ReadFileOutput
Auto Trait Implementations§
impl Freeze for ReadFileOutput
impl RefUnwindSafe for ReadFileOutput
impl Send for ReadFileOutput
impl Sync for ReadFileOutput
impl Unpin for ReadFileOutput
impl UnsafeUnpin for ReadFileOutput
impl UnwindSafe for ReadFileOutput
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