use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum MessageContentTextObjectTextAnnotationsInner {
MessageContentTextAnnotationsFileCitationObject(
Box<models::MessageContentTextAnnotationsFileCitationObject>,
),
MessageContentTextAnnotationsFilePathObject(
Box<models::MessageContentTextAnnotationsFilePathObject>,
),
}
impl Default for MessageContentTextObjectTextAnnotationsInner {
fn default() -> Self {
Self::MessageContentTextAnnotationsFileCitationObject(Default::default())
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
#[serde(rename = "file_citation")]
FileCitation,
#[serde(rename = "file_path")]
FilePath,
}
impl Default for Type {
fn default() -> Type {
Self::FileCitation
}
}