pub enum PromptStatus {
Draft,
Active,
Deprecated,
Archived,
Experimental,
}Variants§
Implementations§
Source§impl PromptStatus
impl PromptStatus
Trait Implementations§
Source§impl Clone for PromptStatus
impl Clone for PromptStatus
Source§fn clone(&self) -> PromptStatus
fn clone(&self) -> PromptStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PromptStatus
impl Debug for PromptStatus
Source§impl Display for PromptStatus
impl Display for PromptStatus
Source§impl FromStr for PromptStatus
impl FromStr for PromptStatus
Source§type Err = AiPromptError
type Err = AiPromptError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<PromptStatus, <PromptStatus as FromStr>::Err>
fn from_str(value: &str) -> Result<PromptStatus, <PromptStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PromptStatus
impl Hash for PromptStatus
Source§impl Ord for PromptStatus
impl Ord for PromptStatus
Source§fn cmp(&self, other: &PromptStatus) -> Ordering
fn cmp(&self, other: &PromptStatus) -> Ordering
1.21.0 (const: unstable) · 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 PromptStatus
impl PartialEq for PromptStatus
Source§fn eq(&self, other: &PromptStatus) -> bool
fn eq(&self, other: &PromptStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PromptStatus
impl PartialOrd for PromptStatus
impl Copy for PromptStatus
impl Eq for PromptStatus
impl StructuralPartialEq for PromptStatus
Auto Trait Implementations§
impl Freeze for PromptStatus
impl RefUnwindSafe for PromptStatus
impl Send for PromptStatus
impl Sync for PromptStatus
impl Unpin for PromptStatus
impl UnsafeUnpin for PromptStatus
impl UnwindSafe for PromptStatus
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