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
17
18
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.ageassurance.begin

use serde::{Deserialize, Serialize};

/// Initiate Age Assurance for an account.
/// XRPC Procedure: app.bsky.ageassurance.begin
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    pub country_code: String,
    pub email: String,
    pub language: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub region_code: Option<String>,
}

pub type Output = crate::app::bsky::ageassurance::defs::State;