pub struct ReadRecord<'a> {
pub path: &'a Path,
pub offset: Option<usize>,
pub limit: Option<usize>,
pub tool_use_id: &'a str,
pub cut_short: bool,
}Expand description
One Read whose result went to the model.
Fields§
§path: &'a Path§offset: Option<usize>§limit: Option<usize>§tool_use_id: &'a strThe call whose result holds what was read.
cut_short: boolThe result showed less of the range than was asked for: it stopped at the default line count, or cut lines at their length cap.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ReadRecord<'a>
impl<'a> Clone for ReadRecord<'a>
impl<'a> Copy for ReadRecord<'a>
Auto Trait Implementations§
impl<'a> Forget for ReadRecord<'a>
impl<'a> Freeze for ReadRecord<'a>
impl<'a> Move for ReadRecord<'a>
impl<'a> RefUnwindSafe for ReadRecord<'a>
impl<'a> Send for ReadRecord<'a>
impl<'a> Sync for ReadRecord<'a>
impl<'a> Unpin for ReadRecord<'a>
impl<'a> UnsafeUnpin for ReadRecord<'a>
impl<'a> UnwindSafe for ReadRecord<'a>
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