objectiveai_cli_sdk/output/notification/functions/profiles/pairs.rs
1use serde::{Deserialize, Serialize};
2
3/// Result of `functions profiles pairs get`. The CLI fetches both
4/// halves of the pair and emits them together.
5///
6/// Wire: `{"type":"notification","pair":{"function":...,"profile":...}}`.
7#[derive(Serialize, Deserialize, Debug, Clone)]
8pub struct Pair {
9 pub pair: FunctionProfilePair,
10}
11
12/// The composite body inside a `Pair` notification.
13#[derive(Serialize, Deserialize, Debug, Clone)]
14pub struct FunctionProfilePair {
15 pub function: objectiveai_sdk::functions::response::GetFunctionResponse,
16 pub profile: objectiveai_sdk::functions::profiles::response::GetProfileResponse,
17}