pub enum PromptVariableMapping {
LegacyPromptVariableMapping(LegacyPromptVariableMapping),
PromptVariableMappingRead(PromptVariableMappingRead),
}Expand description
PromptVariableMapping : Connects one prompt variable to source data.
Variants§
LegacyPromptVariableMapping(LegacyPromptVariableMapping)
PromptVariableMappingRead(PromptVariableMappingRead)
Trait Implementations§
Source§impl Clone for PromptVariableMapping
impl Clone for PromptVariableMapping
Source§impl Debug for PromptVariableMapping
impl Debug for PromptVariableMapping
Source§impl<'de> Deserialize<'de> for PromptVariableMapping
impl<'de> Deserialize<'de> for PromptVariableMapping
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
Source§impl Display for PromptVariableMapping
impl Display for PromptVariableMapping
Source§impl PartialEq for PromptVariableMapping
impl PartialEq for PromptVariableMapping
Source§impl Serialize for PromptVariableMapping
impl Serialize for PromptVariableMapping
impl StructuralPartialEq for PromptVariableMapping
Source§impl Validate for PromptVariableMapping
impl Validate for PromptVariableMapping
Source§fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
Pushes every value that breaks a keyword onto
errors, with its path below path, and nothing when the value
is valid. validate() calls it with Path::root; a model calls it on the models it holds with their path.Auto Trait Implementations§
impl Forget for PromptVariableMapping
impl Freeze for PromptVariableMapping
impl Move for PromptVariableMapping
impl RefUnwindSafe for PromptVariableMapping
impl Send for PromptVariableMapping
impl Sync for PromptVariableMapping
impl Unpin for PromptVariableMapping
impl UnsafeUnpin for PromptVariableMapping
impl UnwindSafe for PromptVariableMapping
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