pub enum PromptVariableKind {
String,
Number,
Boolean,
Json,
Text,
List,
Object,
FileRef,
ImageRef,
AudioRef,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PromptVariableKind
impl Clone for PromptVariableKind
Source§fn clone(&self) -> PromptVariableKind
fn clone(&self) -> PromptVariableKind
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 PromptVariableKind
impl Debug for PromptVariableKind
Source§impl Display for PromptVariableKind
impl Display for PromptVariableKind
Source§impl FromStr for PromptVariableKind
impl FromStr for PromptVariableKind
Source§impl Hash for PromptVariableKind
impl Hash for PromptVariableKind
Source§impl Ord for PromptVariableKind
impl Ord for PromptVariableKind
Source§fn cmp(&self, other: &PromptVariableKind) -> Ordering
fn cmp(&self, other: &PromptVariableKind) -> 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 PromptVariableKind
impl PartialEq for PromptVariableKind
Source§impl PartialOrd for PromptVariableKind
impl PartialOrd for PromptVariableKind
impl Copy for PromptVariableKind
impl Eq for PromptVariableKind
impl StructuralPartialEq for PromptVariableKind
Auto Trait Implementations§
impl Freeze for PromptVariableKind
impl RefUnwindSafe for PromptVariableKind
impl Send for PromptVariableKind
impl Sync for PromptVariableKind
impl Unpin for PromptVariableKind
impl UnsafeUnpin for PromptVariableKind
impl UnwindSafe for PromptVariableKind
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