Skip to main content

proto_blue_api/generated/com/atproto/admin/
sendEmail.rs

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.admin.sendEmail
3
4use serde::{Deserialize, Serialize};
5
6/// Send email to a user's account email address.
7/// XRPC Procedure: com.atproto.admin.sendEmail
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Input {
11    #[serde(skip_serializing_if = "Option::is_none")]
12    pub comment: Option<String>,
13    pub content: String,
14    pub recipient_did: String,
15    pub sender_did: String,
16    #[serde(skip_serializing_if = "Option::is_none")]
17    pub subject: Option<String>,
18}
19
20#[derive(Debug, Clone, Serialize, Deserialize)]
21#[serde(rename_all = "camelCase")]
22pub struct Output {
23    pub sent: bool,
24}