shrike 0.1.1

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 TempRequestPhoneVerificationInput {
    pub phone_number: String,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// TempRequestPhoneVerification — Request a verification code to be sent to the supplied phone number
pub async fn temp_request_phone_verification(
    client: &crate::xrpc::Client,
    input: &TempRequestPhoneVerificationInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client
        .procedure("com.atproto.temp.requestPhoneVerification", input)
        .await?;
    Ok(())
}