#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct FeedGetActorFeedsParams {
pub actor: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub cursor: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub limit: Option<i64>,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct FeedGetActorFeedsOutput {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub cursor: Option<String>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub feeds: Vec<crate::api::app::bsky::FeedDefsGeneratorView>,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn feed_get_actor_feeds(
client: &crate::xrpc::Client,
params: &FeedGetActorFeedsParams,
) -> Result<FeedGetActorFeedsOutput, crate::xrpc::Error> {
client.query("app.bsky.feed.getActorFeeds", params).await
}