atrium_api/app/bsky/labeler/
get_services.rs1pub const NSID: &str = "app.bsky.labeler.getServices";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct ParametersData {
7 #[serde(skip_serializing_if = "core::option::Option::is_none")]
8 pub detailed: core::option::Option<bool>,
9 pub dids: Vec<crate::types::string::Did>,
10}
11pub type Parameters = crate::types::Object<ParametersData>;
12#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
13#[serde(rename_all = "camelCase")]
14pub struct OutputData {
15 pub views: Vec<crate::types::Union<OutputViewsItem>>,
16}
17pub type Output = crate::types::Object<OutputData>;
18#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
19#[serde(tag = "error", content = "message")]
20pub enum Error {}
21impl std::fmt::Display for Error {
22 fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
23 Ok(())
24 }
25}
26#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
27#[serde(tag = "$type")]
28pub enum OutputViewsItem {
29 #[serde(rename = "app.bsky.labeler.defs#labelerView")]
30 AppBskyLabelerDefsLabelerView(Box<crate::app::bsky::labeler::defs::LabelerView>),
31 #[serde(rename = "app.bsky.labeler.defs#labelerViewDetailed")]
32 AppBskyLabelerDefsLabelerViewDetailed(
33 Box<crate::app::bsky::labeler::defs::LabelerViewDetailed>,
34 ),
35}