atrium_api/com/atproto/admin/
update_account_email.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `com.atproto.admin.updateAccountEmail` namespace.
3pub const NSID: &str = "com.atproto.admin.updateAccountEmail";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct InputData {
7    ///The handle or DID of the repo.
8    pub account: crate::types::string::AtIdentifier,
9    pub email: String,
10}
11pub type Input = crate::types::Object<InputData>;
12#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
13#[serde(tag = "error", content = "message")]
14pub enum Error {}
15impl std::fmt::Display for Error {
16    fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
17        Ok(())
18    }
19}