proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Generated by atproto-codegen. Do not edit.
//! Lexicon: com.atproto.server.updateEmail

use serde::{Deserialize, Serialize};

/// Update an account's email.
/// XRPC Procedure: com.atproto.server.updateEmail
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    pub email: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub email_auth_factor: Option<bool>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub token: Option<String>,
}