1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// This file is generated by atrium-codegen. DO NOT EDIT.
//!Definitions for the `com.atproto.sync.getRecord` namespace.
pub const NSID: &str = "com.atproto.sync.getRecord";
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct Parameters {
    pub collection: crate::types::string::Nsid,
    ///DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit
    #[serde(skip_serializing_if = "Option::is_none")]
    pub commit: Option<crate::types::string::Cid>,
    ///The DID of the repo.
    pub did: crate::types::string::Did,
    ///Record Key
    pub rkey: String,
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(tag = "error", content = "message")]
pub enum Error {}
impl std::fmt::Display for Error {
    fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
        Ok(())
    }
}