pub struct PromptMetadata {
pub description: String,
pub arguments: FxHashMap<String, ParamType>,
}Expand description
Prompt metadata for discovery
Fields§
§description: String§arguments: FxHashMap<String, ParamType>Trait Implementations§
Source§impl Clone for PromptMetadata
impl Clone for PromptMetadata
Source§fn clone(&self) -> PromptMetadata
fn clone(&self) -> PromptMetadata
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 moreAuto Trait Implementations§
impl Freeze for PromptMetadata
impl RefUnwindSafe for PromptMetadata
impl Send for PromptMetadata
impl Sync for PromptMetadata
impl Unpin for PromptMetadata
impl UnwindSafe for PromptMetadata
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