pub enum ResponsePromptVariable {
Other(String),
InputText(InputTextContent),
InputImage(InputImageContent),
InputFile(InputFileContent),
}
Variants§
Other(String)
InputText(InputTextContent)
InputImage(InputImageContent)
InputFile(InputFileContent)
Trait Implementations§
Source§impl Clone for ResponsePromptVariable
impl Clone for ResponsePromptVariable
Source§fn clone(&self) -> ResponsePromptVariable
fn clone(&self) -> ResponsePromptVariable
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResponsePromptVariable
impl Debug for ResponsePromptVariable
Source§impl<'de> Deserialize<'de> for ResponsePromptVariable
impl<'de> Deserialize<'de> for ResponsePromptVariable
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 ResponsePromptVariable
impl PartialEq for ResponsePromptVariable
Source§fn eq(&self, other: &ResponsePromptVariable) -> bool
fn eq(&self, other: &ResponsePromptVariable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for ResponsePromptVariable
impl Serialize for ResponsePromptVariable
impl StructuralPartialEq for ResponsePromptVariable
Auto Trait Implementations§
impl Freeze for ResponsePromptVariable
impl RefUnwindSafe for ResponsePromptVariable
impl Send for ResponsePromptVariable
impl Sync for ResponsePromptVariable
impl Unpin for ResponsePromptVariable
impl UnwindSafe for ResponsePromptVariable
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