pub struct ParamDef {
pub name: String,
pub original_name: String,
pub python_type: ParamType,
pub required: bool,
pub description: String,
pub choices: Option<Vec<String>>,
pub location: ParamLocation,
pub schema: Value,
}Fields§
§name: Stringkebab-case CLI flag name
original_name: Stringoriginal name for API/tool call
python_type: ParamType§required: bool§description: String§choices: Option<Vec<String>>§location: ParamLocation§schema: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for ParamDef
impl RefUnwindSafe for ParamDef
impl Send for ParamDef
impl Sync for ParamDef
impl Unpin for ParamDef
impl UnsafeUnpin for ParamDef
impl UnwindSafe for ParamDef
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