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

/// ServerRevokeAppPassword — Revoke an App Password by name.
pub async fn server_revoke_app_password(
    client: &crate::xrpc::Client,
    input: &ServerRevokeAppPasswordInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client
        .procedure("com.atproto.server.revokeAppPassword", input)
        .await?;
    Ok(())
}