pub struct PromptHistory {
pub status: String,
pub completed: bool,
pub images: Vec<ImageRef>,
}Expand description
Parsed history entry for a completed prompt.
Fields§
§status: String§completed: bool§images: Vec<ImageRef>Trait Implementations§
Source§impl Clone for PromptHistory
impl Clone for PromptHistory
Source§fn clone(&self) -> PromptHistory
fn clone(&self) -> PromptHistory
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 moreAuto Trait Implementations§
impl Freeze for PromptHistory
impl RefUnwindSafe for PromptHistory
impl Send for PromptHistory
impl Sync for PromptHistory
impl Unpin for PromptHistory
impl UnsafeUnpin for PromptHistory
impl UnwindSafe for PromptHistory
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