use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum MessageDeltaContentTextObjectTextAnnotationsInner {
MessageDeltaContentTextAnnotationsFileCitationObject(
Box<models::MessageDeltaContentTextAnnotationsFileCitationObject>,
),
MessageDeltaContentTextAnnotationsFilePathObject(
Box<models::MessageDeltaContentTextAnnotationsFilePathObject>,
),
}
impl Default for MessageDeltaContentTextObjectTextAnnotationsInner {
fn default() -> Self {
Self::MessageDeltaContentTextAnnotationsFileCitationObject(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
}
}