pub struct Prompt {
pub name: String,
pub description: Option<String>,
pub arguments: Option<Vec<PromptArgument>>,
pub callback: PromptCallback,
}Fields§
§name: String§description: Option<String>§arguments: Option<Vec<PromptArgument>>§callback: PromptCallbackImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Prompt
impl !UnwindSafe for Prompt
impl Freeze for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnsafeUnpin for Prompt
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