pub struct RustExecutorConfig {
pub rustc_path: String,
pub serde_json_path: Option<PathBuf>,
pub rustc_flags: Vec<String>,
}Expand description
Configuration for the RustExecutor pipeline.
§Example
use adk_code::RustExecutorConfig;
let config = RustExecutorConfig::default();
assert_eq!(config.rustc_path, "rustc");Fields§
§rustc_path: StringPath to the rustc compiler binary.
serde_json_path: Option<PathBuf>Explicit path to the serde_json rlib. If None, the executor
attempts automatic discovery via cargo metadata.
rustc_flags: Vec<String>Extra flags passed to rustc during compilation.
Trait Implementations§
Source§impl Clone for RustExecutorConfig
impl Clone for RustExecutorConfig
Source§fn clone(&self) -> RustExecutorConfig
fn clone(&self) -> RustExecutorConfig
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 RustExecutorConfig
impl Debug for RustExecutorConfig
Auto Trait Implementations§
impl Freeze for RustExecutorConfig
impl RefUnwindSafe for RustExecutorConfig
impl Send for RustExecutorConfig
impl Sync for RustExecutorConfig
impl Unpin for RustExecutorConfig
impl UnsafeUnpin for RustExecutorConfig
impl UnwindSafe for RustExecutorConfig
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