pub struct Read {
pub id: String,
pub tool: String,
pub target: String,
pub path: Option<String>,
pub start: Option<u32>,
pub end: Option<u32>,
pub digest: String,
pub content_sha256: Option<String>,
pub subject: Option<String>,
}Expand description
A read the engine issued for a tool call.
Fields§
§id: Stringr1, r2, … across the conversation.
tool: StringThe tool.
target: StringWhat it read, in one line.
path: Option<String>The file it read, when it read one.
start: Option<u32>The first line it returned (a run’s account: its first turn).
end: Option<u32>The last line it returned (a run’s account: its last turn).
digest: StringThe digest of what it returned.
content_sha256: Option<String>The digest of the lines a file read returned, to tell whether the file still says that.
subject: Option<String>The task (task_evidence) or run (journal_account) it read.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Read
impl<'de> Deserialize<'de> for Read
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 Eq for Read
Source§impl JsonSchema for Read
impl JsonSchema for Read
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Read
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnsafeUnpin for Read
impl UnwindSafe for Read
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