openai_struct/models/
message_content_text_object_text.rs1#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct MessageContentTextObjectText {
16 #[serde(rename = "annotations")]
17 pub annotations: Vec<MessageContentTextObjectTextAnnotations>,
18 #[serde(rename = "value")]
20 pub value: String,
21}
22
23#[derive(Debug, Serialize, Deserialize)]
24#[serde(untagged)]
25pub enum MessageContentTextObjectTextAnnotations {
26 FileCitationObject(crate::MessageContentTextAnnotationsFileCitationObject),
27 FilePathObject(crate::MessageContentTextAnnotationsFilePathObject),
28}