pub enum ResponseShape {
ToolCall,
Instruction,
Schema,
UrlFetch,
Action,
FreeText,
NonFiniteMass,
Other,
}Expand description
The shape of response material that is not an answer (3.3).
Variants§
ToolCall
Instruction
Schema
UrlFetch
Action
FreeText
NonFiniteMass
A distribution with a NaN or infinite mass: JSON cannot carry the masses, so the outcome records them as an excerpt (3.3, 3.6).
Other
Implementations§
Trait Implementations§
Source§impl Clone for ResponseShape
impl Clone for ResponseShape
impl Copy for ResponseShape
Source§impl Debug for ResponseShape
impl Debug for ResponseShape
Source§impl<'de> Deserialize<'de> for ResponseShape
impl<'de> Deserialize<'de> for ResponseShape
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
impl Eq for ResponseShape
Source§impl JsonSchema for ResponseShape
impl JsonSchema for ResponseShape
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ResponseShape
impl PartialEq for ResponseShape
Source§impl Serialize for ResponseShape
impl Serialize for ResponseShape
impl StructuralPartialEq for ResponseShape
Auto Trait Implementations§
impl Freeze for ResponseShape
impl RefUnwindSafe for ResponseShape
impl Send for ResponseShape
impl Sync for ResponseShape
impl Unpin for ResponseShape
impl UnsafeUnpin for ResponseShape
impl UnwindSafe for ResponseShape
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