pub struct GeneratorConfig {
pub cli_name: String,
pub bridge_url: String,
pub token: String,
pub tools: Vec<Tool>,
pub session_pid: u32,
pub output_dir: PathBuf,
}Expand description
Inputs shared by all client generators.
Fields§
§cli_name: StringName of the CLI / library module to generate (e.g. "confluence").
bridge_url: StringBase URL of the running tool proxy (e.g. "http://127.0.0.1:51234").
token: StringSession bearer token, embedded verbatim into every generated artifact.
tools: Vec<Tool>Upstream tools whose names and schemas drive artifact generation.
session_pid: u32PID of the proxy process, used for multi-session disambiguation.
output_dir: PathBufDirectory where artifact files are written when persistence is requested.
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 (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 GeneratorConfig
impl Debug for GeneratorConfig
Source§impl From<FfiGeneratorConfig> for GeneratorConfig
impl From<FfiGeneratorConfig> for GeneratorConfig
Source§fn from(value: FfiGeneratorConfig) -> GeneratorConfig
fn from(value: FfiGeneratorConfig) -> GeneratorConfig
Converts to this type from the input type.
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