objectiveai_sdk/cli/output/notification/instructions.rs
1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Wire shape for `<scope> instructions get` (and the global
5/// `instructions get`). The body is the instruction text the user is
6/// meant to follow plus the generated instructions ID line.
7#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
8#[schemars(rename = "cli.output.notification.Instructions")]
9pub struct Instructions {
10 pub instructions: String,
11}