proto_blue_api/generated/com/atproto/server/createInviteCode.rs
1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.server.createInviteCode
3
4use serde::{Deserialize, Serialize};
5
6/// Create an invite code.
7/// XRPC Procedure: com.atproto.server.createInviteCode
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Input {
11 #[serde(skip_serializing_if = "Option::is_none")]
12 pub for_account: Option<String>,
13 pub use_count: i64,
14}
15
16#[derive(Debug, Clone, Serialize, Deserialize)]
17#[serde(rename_all = "camelCase")]
18pub struct Output {
19 pub code: String,
20}