pub struct FileContentsOpts {
pub limit_lines: Option<isize>,
pub offset_lines: Option<isize>,
}Fields§
§limit_lines: Option<isize>Maximum number of lines to read
offset_lines: Option<isize>Start reading after this line
Trait Implementations§
Source§impl Debug for FileContentsOpts
impl Debug for FileContentsOpts
Source§impl PartialEq for FileContentsOpts
impl PartialEq for FileContentsOpts
Source§fn eq(&self, other: &FileContentsOpts) -> bool
fn eq(&self, other: &FileContentsOpts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileContentsOpts
Auto Trait Implementations§
impl Freeze for FileContentsOpts
impl RefUnwindSafe for FileContentsOpts
impl Send for FileContentsOpts
impl Sync for FileContentsOpts
impl Unpin for FileContentsOpts
impl UnsafeUnpin for FileContentsOpts
impl UnwindSafe for FileContentsOpts
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