pub enum FunctionCallOutput {
Text(String),
Content(Vec<InputContent>),
}Variants§
Trait Implementations§
Source§impl Clone for FunctionCallOutput
impl Clone for FunctionCallOutput
Source§fn clone(&self) -> FunctionCallOutput
fn clone(&self) -> FunctionCallOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionCallOutput
impl Debug for FunctionCallOutput
Source§impl<'de> Deserialize<'de> for FunctionCallOutput
impl<'de> Deserialize<'de> for FunctionCallOutput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for FunctionCallOutput
impl From<&str> for FunctionCallOutput
Source§fn from(text: &str) -> FunctionCallOutput
fn from(text: &str) -> FunctionCallOutput
Converts to this type from the input type.
Source§impl From<String> for FunctionCallOutput
impl From<String> for FunctionCallOutput
Source§fn from(text: String) -> FunctionCallOutput
fn from(text: String) -> FunctionCallOutput
Converts to this type from the input type.
Source§impl From<Vec<InputContent>> for FunctionCallOutput
impl From<Vec<InputContent>> for FunctionCallOutput
Source§fn from(content: Vec<InputContent>) -> FunctionCallOutput
fn from(content: Vec<InputContent>) -> FunctionCallOutput
Converts to this type from the input type.
Source§impl PartialEq for FunctionCallOutput
impl PartialEq for FunctionCallOutput
Source§fn eq(&self, other: &FunctionCallOutput) -> bool
fn eq(&self, other: &FunctionCallOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FunctionCallOutput
impl Serialize for FunctionCallOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionCallOutput
Auto Trait Implementations§
impl Freeze for FunctionCallOutput
impl RefUnwindSafe for FunctionCallOutput
impl Send for FunctionCallOutput
impl Sync for FunctionCallOutput
impl Unpin for FunctionCallOutput
impl UnsafeUnpin for FunctionCallOutput
impl UnwindSafe for FunctionCallOutput
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