pub enum PromptOwnership {
User,
Assistant,
System,
Structural,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PromptOwnership
impl Clone for PromptOwnership
Source§fn clone(&self) -> PromptOwnership
fn clone(&self) -> PromptOwnership
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 moreimpl Copy for PromptOwnership
Source§impl Debug for PromptOwnership
impl Debug for PromptOwnership
impl Eq for PromptOwnership
Source§impl Hash for PromptOwnership
impl Hash for PromptOwnership
Source§impl Ord for PromptOwnership
impl Ord for PromptOwnership
Source§fn cmp(&self, other: &PromptOwnership) -> Ordering
fn cmp(&self, other: &PromptOwnership) -> 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 PromptOwnership
impl PartialEq for PromptOwnership
Source§fn eq(&self, other: &PromptOwnership) -> bool
fn eq(&self, other: &PromptOwnership) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PromptOwnership
impl PartialOrd for PromptOwnership
impl StructuralPartialEq for PromptOwnership
Auto Trait Implementations§
impl Freeze for PromptOwnership
impl RefUnwindSafe for PromptOwnership
impl Send for PromptOwnership
impl Sync for PromptOwnership
impl Unpin for PromptOwnership
impl UnsafeUnpin for PromptOwnership
impl UnwindSafe for PromptOwnership
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