pub struct ReadInput {
pub file_path: String,
pub offset: Option<i64>,
pub limit: Option<i64>,
}Expand description
Input for the Read tool - reads file contents.
Fields§
§file_path: StringThe absolute path to the file to read
offset: Option<i64>The line number to start reading from (1-indexed)
limit: Option<i64>The number of lines to read
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReadInput
impl<'de> Deserialize<'de> for ReadInput
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
impl StructuralPartialEq for ReadInput
Auto Trait Implementations§
impl Freeze for ReadInput
impl RefUnwindSafe for ReadInput
impl Send for ReadInput
impl Sync for ReadInput
impl Unpin for ReadInput
impl UnsafeUnpin for ReadInput
impl UnwindSafe for ReadInput
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