proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.graph.getRelationships

use serde::{Deserialize, Serialize};

/// Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
/// XRPC Query: app.bsky.graph.getRelationships
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Params {
    pub actor: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub others: Option<Vec<String>>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub actor: Option<String>,
    pub relationships: Vec<serde_json::Value>,
}