pub enum PromptPartKind {
System,
Developer,
User,
Assistant,
Tool,
Context,
Example,
Constraint,
OutputFormat,
Metadata,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PromptPartKind
impl Clone for PromptPartKind
Source§fn clone(&self) -> PromptPartKind
fn clone(&self) -> PromptPartKind
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 PromptPartKind
impl Debug for PromptPartKind
Source§impl Display for PromptPartKind
impl Display for PromptPartKind
Source§impl FromStr for PromptPartKind
impl FromStr for PromptPartKind
Source§impl Hash for PromptPartKind
impl Hash for PromptPartKind
Source§impl Ord for PromptPartKind
impl Ord for PromptPartKind
Source§fn cmp(&self, other: &PromptPartKind) -> Ordering
fn cmp(&self, other: &PromptPartKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PromptPartKind
impl PartialEq for PromptPartKind
Source§impl PartialOrd for PromptPartKind
impl PartialOrd for PromptPartKind
impl Copy for PromptPartKind
impl Eq for PromptPartKind
impl StructuralPartialEq for PromptPartKind
Auto Trait Implementations§
impl Freeze for PromptPartKind
impl RefUnwindSafe for PromptPartKind
impl Send for PromptPartKind
impl Sync for PromptPartKind
impl Unpin for PromptPartKind
impl UnsafeUnpin for PromptPartKind
impl UnwindSafe for PromptPartKind
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