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

/// ServerRequestEmailUpdate — Request a token in order to update email.
pub async fn server_request_email_update(
    client: &crate::xrpc::Client,
) -> Result<ServerRequestEmailUpdateOutput, crate::xrpc::Error> {
    client
        .procedure("com.atproto.server.requestEmailUpdate", &())
        .await
}