Skip to main content

chroma_api_types/
heartbeat.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
5pub struct HeartbeatResponse {
6    #[serde(rename = "nanosecond heartbeat")]
7    #[cfg_attr(feature = "utoipa", schema(rename = "nanosecond heartbeat"))]
8    pub nanosecond_heartbeat: u128,
9}