shrike 0.1.1

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 ModerationGetRepoParams {
    pub did: String,
}

/// ModerationGetRepoOutput is an alias.
pub type ModerationGetRepoOutput = crate::api::tools::ozone::ModerationDefsRepoViewDetail;

/// ModerationGetRepo — Get details about a repository.
pub async fn moderation_get_repo(
    client: &crate::xrpc::Client,
    params: &ModerationGetRepoParams,
) -> Result<ModerationGetRepoOutput, crate::xrpc::Error> {
    client.query("tools.ozone.moderation.getRepo", params).await
}