shrike 0.1.0

AT Protocol library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ActorGetProfileParams {
    pub actor: String,
}

/// ActorGetProfileOutput is an alias.
pub type ActorGetProfileOutput = crate::api::app::bsky::ActorDefsProfileViewDetailed;

/// ActorGetProfile — Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with...
pub async fn actor_get_profile(
    client: &crate::xrpc::Client,
    params: &ActorGetProfileParams,
) -> Result<ActorGetProfileOutput, crate::xrpc::Error> {
    client.query("app.bsky.actor.getProfile", params).await
}