atrium_api/com/atproto/server/
deactivate_account.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `com.atproto.server.deactivateAccount` namespace.
3pub const NSID: &str = "com.atproto.server.deactivateAccount";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct InputData {
7    ///A recommendation to server as to how long they should hold onto the deactivated account before deleting.
8    #[serde(skip_serializing_if = "core::option::Option::is_none")]
9    pub delete_after: core::option::Option<crate::types::string::Datetime>,
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}