pub struct ViewResult {
filename: PathBuf,
content: String,
}Expand description
Result of reading a range from a file.
Fields§
§filename: PathBufFilename from which data was read
content: StringRequested content
Trait Implementations§
Source§impl Debug for ViewResult
impl Debug for ViewResult
Source§impl<'de> Deserialize<'de> for ViewResult
impl<'de> Deserialize<'de> for ViewResult
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
Source§impl Display for ViewResult
impl Display for ViewResult
Auto Trait Implementations§
impl Freeze for ViewResult
impl RefUnwindSafe for ViewResult
impl Send for ViewResult
impl Sync for ViewResult
impl Unpin for ViewResult
impl UnsafeUnpin for ViewResult
impl UnwindSafe for ViewResult
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