objectiveai-sdk 2.0.5

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

/// Response from the error endpoint.
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
#[schemars(rename = "error.ErrorResponse")]
pub struct ErrorResponse {
    /// Whether the request completed successfully.
    pub ok: bool,
}