pub struct GeneratorConfig {
pub server_id: String,
pub include_output_schemas: bool,
pub respect_publish_flag: bool,
}Expand description
Configuration for the manifest generator.
Fields§
§server_id: StringServer ID to use in the generated manifest body. The manifest itself is
not signed here (the caller signs it with a keypair), so we only
produce ToolDefinition values.
include_output_schemas: boolWhether to include response schemas as output_schema on each tool.
respect_publish_flag: boolWhether to skip operations that have x-chio-publish: false.
Trait Implementations§
Source§impl Clone for GeneratorConfig
impl Clone for GeneratorConfig
Source§fn clone(&self) -> GeneratorConfig
fn clone(&self) -> GeneratorConfig
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 GeneratorConfig
impl Debug for GeneratorConfig
Auto Trait Implementations§
impl Freeze for GeneratorConfig
impl RefUnwindSafe for GeneratorConfig
impl Send for GeneratorConfig
impl Sync for GeneratorConfig
impl Unpin for GeneratorConfig
impl UnsafeUnpin for GeneratorConfig
impl UnwindSafe for GeneratorConfig
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