atrium_api/app/bsky/actor/
get_preferences.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `app.bsky.actor.getPreferences` namespace.
3pub const NSID: &str = "app.bsky.actor.getPreferences";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct ParametersData {}
7pub type Parameters = crate::types::Object<ParametersData>;
8#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
9#[serde(rename_all = "camelCase")]
10pub struct OutputData {
11    pub preferences: crate::app::bsky::actor::defs::Preferences,
12}
13pub type Output = crate::types::Object<OutputData>;
14#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
15#[serde(tag = "error", content = "message")]
16pub enum Error {}
17impl std::fmt::Display for Error {
18    fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
19        Ok(())
20    }
21}