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