pub struct PromptStatus {
pub prompt_id: String,
pub number: usize,
pub node_errors: HashMap<String, Value>,
}Expand description
Represents a prompt with an identifier, a number, and potential node errors.
Fields§
§prompt_id: StringUnique identifier for the prompt.
number: usizeA numeric identifier for the prompt.
node_errors: HashMap<String, Value>A mapping of node identifiers to error details in JSON format.
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 · 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<'de> Deserialize<'de> for PromptStatus
impl<'de> Deserialize<'de> for PromptStatus
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 Freeze for PromptStatus
impl RefUnwindSafe for PromptStatus
impl Send for PromptStatus
impl Sync for PromptStatus
impl Unpin 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