objectiveai_sdk/vector/completions/cache/
response.rs1use crate::vector;
2use serde::{Deserialize, Serialize};
3use schemars::JsonSchema;
4
5#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
6#[schemars(rename = "vector.completions.cache.CompletionVotes")]
7pub struct CompletionVotes {
8 pub data: Option<Vec<vector::completions::response::Vote>>,
9}
10
11#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
12#[schemars(rename = "vector.completions.cache.CacheVote")]
13pub struct CacheVote {
14 pub vote: Option<vector::completions::response::Vote>,
15}