Skip to main content

objectiveai_cli_sdk/output/notification/
ack.rs

1use serde::{Deserialize, Serialize};
2
3/// Wire shape for silent-success notifications (`config set`,
4/// `favorites add/del/edit`, `instructions clear`, etc.). Wire:
5/// `{"type":"notification","ok":true}`.
6#[derive(Serialize, Deserialize, Debug, Clone)]
7pub struct Ok {
8    pub ok: bool,
9}
10
11pub const OK: Ok = Ok { ok: true };