pub enum PromptTemplate {
Show 20 variants
FeatureSpec,
BugFix,
Refactor,
Test,
Docs,
Quick,
PerformanceOptimization,
SecurityAudit,
ApiIntegration,
DatabaseMigration,
DependencyUpdate,
CliTool,
WebApi,
DataPipeline,
UiComponent,
CodeReview,
DebugTriage,
Release,
TechDebt,
Onboarding,
}Expand description
Available prompt template types.
Each variant represents a different template for a specific use case.
Variants§
FeatureSpec
Comprehensive product specification template
BugFix
Concise bug fix template
Refactor
Code refactoring template
Test
Test writing template
Docs
Documentation update template
Quick
Quick/small change template
PerformanceOptimization
Performance optimization template
SecurityAudit
Security audit template
ApiIntegration
API integration template
DatabaseMigration
Database migration template
DependencyUpdate
Dependency update template
CliTool
CLI tool development template
WebApi
Web API development template
DataPipeline
Data pipeline template
UiComponent
UI component template
CodeReview
Code review template
DebugTriage
Debug triage template
Release
Release preparation template
TechDebt
Technical debt refactoring template
Onboarding
Onboarding template
Implementations§
Trait Implementations§
Source§impl Clone for PromptTemplate
impl Clone for PromptTemplate
Source§fn clone(&self) -> PromptTemplate
fn clone(&self) -> PromptTemplate
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 moreSource§impl Debug for PromptTemplate
impl Debug for PromptTemplate
Source§impl Display for PromptTemplate
impl Display for PromptTemplate
Source§impl PartialEq for PromptTemplate
impl PartialEq for PromptTemplate
impl Copy for PromptTemplate
impl Eq for PromptTemplate
impl StructuralPartialEq for PromptTemplate
Auto Trait Implementations§
impl Freeze for PromptTemplate
impl RefUnwindSafe for PromptTemplate
impl Send for PromptTemplate
impl Sync for PromptTemplate
impl Unpin for PromptTemplate
impl UnwindSafe for PromptTemplate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more