objectiveai_sdk/functions/executions/response/
output.rs1use crate::functions;
2use schemars::JsonSchema;
3use serde::{Deserialize, Serialize};
4
5#[derive(
8 Debug,
9 Clone,
10 PartialEq,
11 Serialize,
12 Deserialize,
13 JsonSchema,
14 arbitrary::Arbitrary,
15)]
16#[schemars(rename = "functions.executions.response.Output")]
17pub struct Output {
18 pub output: functions::expression::TaskOutputOwned,
19}
20
21impl Output {
22 pub fn unwrap(self) -> functions::expression::TaskOutputOwned {
23 self.output
24 }
25}