atrium_api/app/bsky/actor/
get_profile.rs

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