pub struct FindOutput {
pub matches: Vec<String>,
pub count: usize,
pub search_path: String,
pub meta: Option<ToolResultMeta>,
}Fields§
§matches: Vec<String>Array of matching file paths
count: usizeNumber of matches found
search_path: StringSearch directory used
meta: Option<ToolResultMeta>Display metadata for human-friendly rendering
Trait Implementations§
Source§impl Clone for FindOutput
impl Clone for FindOutput
Source§fn clone(&self) -> FindOutput
fn clone(&self) -> FindOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FindOutput
impl Debug for FindOutput
Source§impl<'de> Deserialize<'de> for FindOutput
impl<'de> Deserialize<'de> for FindOutput
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 JsonSchema for FindOutput
impl JsonSchema for FindOutput
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 moreAuto Trait Implementations§
impl Freeze for FindOutput
impl RefUnwindSafe for FindOutput
impl Send for FindOutput
impl Sync for FindOutput
impl Unpin for FindOutput
impl UnsafeUnpin for FindOutput
impl UnwindSafe for FindOutput
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