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

/// AdminUpdateAccountSigningKey — Administrative action to update an account's signing key in their Did document.
pub async fn admin_update_account_signing_key(
    client: &crate::xrpc::Client,
    input: &AdminUpdateAccountSigningKeyInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client
        .procedure("com.atproto.admin.updateAccountSigningKey", input)
        .await?;
    Ok(())
}