objectiveai-cli-sdk 2.0.5

Library surface for objectiveai-cli: structured JSON Lines output types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

/// Wire shape for silent-success notifications (`config set`,
/// `favorites add/del/edit`, `instructions clear`, etc.). Wire:
/// `{"type":"notification","ok":true}`.
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Ok {
    pub ok: bool,
}

pub const OK: Ok = Ok { ok: true };