pub const NSID: &str = "app.bsky.labeler.getServices";
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ParametersData {
#[serde(skip_serializing_if = "Option::is_none")]
pub detailed: Option<bool>,
pub dids: Vec<crate::types::string::Did>,
}
pub type Parameters = crate::types::Object<ParametersData>;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct OutputData {
pub views: Vec<crate::types::Union<OutputViewsItem>>,
}
pub type Output = crate::types::Object<OutputData>;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(tag = "error", content = "message")]
pub enum Error {}
impl std::fmt::Display for Error {
fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
Ok(())
}
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(tag = "$type")]
pub enum OutputViewsItem {
#[serde(rename = "app.bsky.labeler.defs#labelerView")]
AppBskyLabelerDefsLabelerView(Box<crate::app::bsky::labeler::defs::LabelerView>),
#[serde(rename = "app.bsky.labeler.defs#labelerViewDetailed")]
AppBskyLabelerDefsLabelerViewDetailed(
Box<crate::app::bsky::labeler::defs::LabelerViewDetailed>,
),
}