pub struct PromptMetadata {
pub name: &'static str,
pub purpose: &'static str,
pub content: &'static str,
}Expand description
Metadata about a bundled prompt
Fields§
§name: &'static strThe name of the prompt (used as filename without .md extension)
purpose: &'static strThe purpose/description of the prompt
content: &'static strThe content of the prompt
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