pub struct PromptDef {
pub name: String,
pub description: String,
pub arguments: Vec<PromptArgument>,
}Expand description
Prompt definition
Fields§
§name: String§description: String§arguments: Vec<PromptArgument>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PromptDef
impl RefUnwindSafe for PromptDef
impl Send for PromptDef
impl Sync for PromptDef
impl Unpin for PromptDef
impl UnwindSafe for PromptDef
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