pub struct SaveCategorizedToolsResult {
pub success: bool,
pub files_generated: usize,
pub output_dir: String,
pub categories: HashMap<String, usize>,
pub errors: Vec<ToolGenerationError>,
}Expand description
Result from saving categorized tools.
Reports success status, number of files generated, and any errors that occurred during generation.
Fields§
§success: boolWhether generation succeeded
files_generated: usizeNumber of TypeScript files created
output_dir: StringDirectory where files were written
categories: HashMap<String, usize>Count of tools per category
errors: Vec<ToolGenerationError>Any tools that failed to generate
Trait Implementations§
Source§impl Clone for SaveCategorizedToolsResult
impl Clone for SaveCategorizedToolsResult
Source§fn clone(&self) -> SaveCategorizedToolsResult
fn clone(&self) -> SaveCategorizedToolsResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SaveCategorizedToolsResult
impl Debug for SaveCategorizedToolsResult
Source§impl JsonSchema for SaveCategorizedToolsResult
impl JsonSchema for SaveCategorizedToolsResult
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 SaveCategorizedToolsResult
impl RefUnwindSafe for SaveCategorizedToolsResult
impl Send for SaveCategorizedToolsResult
impl Sync for SaveCategorizedToolsResult
impl Unpin for SaveCategorizedToolsResult
impl UnwindSafe for SaveCategorizedToolsResult
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