shrike 0.1.0

AT Protocol library for Rust
Documentation
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct UnspeccedInitAgeAssuranceInput {
    pub country_code: String,
    pub email: String,
    pub language: String,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// UnspeccedInitAgeAssuranceOutput is an alias.
pub type UnspeccedInitAgeAssuranceOutput = crate::api::app::bsky::UnspeccedDefsAgeAssuranceState;

/// UnspeccedInitAgeAssurance — Initiate age assurance for an account. This is a one-time action that will start the process of v...
pub async fn unspecced_init_age_assurance(
    client: &crate::xrpc::Client,
    input: &UnspeccedInitAgeAssuranceInput,
) -> Result<UnspeccedInitAgeAssuranceOutput, crate::xrpc::Error> {
    client
        .procedure("app.bsky.unspecced.initAgeAssurance", input)
        .await
}