pub struct PromptInfo {
pub name: String,
pub description: String,
pub arguments: Vec<PromptArgument>,
}Expand description
A prompt as it appears in prompts/list.
Fields§
§name: String§description: String§arguments: Vec<PromptArgument>Implementations§
Trait Implementations§
Source§impl Clone for PromptInfo
impl Clone for PromptInfo
Source§impl Debug for PromptInfo
impl Debug for PromptInfo
impl Eq for PromptInfo
Source§impl PartialEq for PromptInfo
impl PartialEq for PromptInfo
impl StructuralPartialEq for PromptInfo
Auto Trait Implementations§
impl Freeze for PromptInfo
impl RefUnwindSafe for PromptInfo
impl Send for PromptInfo
impl Sync for PromptInfo
impl Unpin for PromptInfo
impl UnsafeUnpin for PromptInfo
impl UnwindSafe for PromptInfo
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