pub struct PromptTried {
pub sample: String,
pub output: String,
pub current: Option<String>,
}Fields§
§sample: String§output: String§current: Option<String>What the index holds for the same sample now.
Trait Implementations§
Source§impl Clone for PromptTried
impl Clone for PromptTried
Source§impl Debug for PromptTried
impl Debug for PromptTried
Source§impl<'de> Deserialize<'de> for PromptTried
impl<'de> Deserialize<'de> for PromptTried
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for PromptTried
impl Freeze for PromptTried
impl RefUnwindSafe for PromptTried
impl Send for PromptTried
impl Sync for PromptTried
impl Unpin for PromptTried
impl UnsafeUnpin for PromptTried
impl UnwindSafe for PromptTried
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