| 680 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 681 | #[serde(tag = "type")] |
| 682 | pub enum AnnotationItem { |
| 683 | #[serde(rename = "url_citation")] |
| 684 | UrlCitation { url: String, title: String }, |
| 685 | #[serde(rename = "file_citation")] |
| 686 | FileCitation { |
| 687 | file_id: String, |
| 688 | #[serde(default)] |
| 689 | filename: Option<String>, |
| 690 | #[serde(default)] |
| 691 | index: Option<u64>, |
| 692 | #[serde(default)] |
| 693 | start_index: Option<u64>, |
| 694 | #[serde(default)] |
| 695 | end_index: Option<u64>, |
| 696 | #[serde(default)] |
| 697 | quote: Option<String>, |
| 698 | }, |
| 699 | } |
| 700 | |
| 701 | // --------------------------------------------------------------------------- |
| 702 | // Streaming State Management |
nothing calls this directly
no outgoing calls
no test coverage detected