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
// Code generated by lexgen. DO NOT EDIT.

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

/// SyncGetBlob — Get a blob associated with a given account. Returns the full blob as originally uploaded. Does no...
pub async fn sync_get_blob(
    client: &crate::xrpc::Client,
    params: &SyncGetBlobParams,
) -> Result<Vec<u8>, crate::xrpc::Error> {
    client.query_raw("com.atproto.sync.getBlob", params).await
}