pub enum ResponsePromptVariables {
String(String),
Content(InputContent),
Custom(Value),
}Variants§
Trait Implementations§
Source§impl Clone for ResponsePromptVariables
impl Clone for ResponsePromptVariables
Source§fn clone(&self) -> ResponsePromptVariables
fn clone(&self) -> ResponsePromptVariables
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 ResponsePromptVariables
impl Debug for ResponsePromptVariables
Source§impl<'de> Deserialize<'de> for ResponsePromptVariables
impl<'de> Deserialize<'de> for ResponsePromptVariables
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 PartialEq for ResponsePromptVariables
impl PartialEq for ResponsePromptVariables
Source§impl Serialize for ResponsePromptVariables
impl Serialize for ResponsePromptVariables
impl StructuralPartialEq for ResponsePromptVariables
Auto Trait Implementations§
impl Freeze for ResponsePromptVariables
impl RefUnwindSafe for ResponsePromptVariables
impl Send for ResponsePromptVariables
impl Sync for ResponsePromptVariables
impl Unpin for ResponsePromptVariables
impl UnwindSafe for ResponsePromptVariables
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