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

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

/// ContactRemoveData — Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.
pub async fn contact_remove_data(
    client: &crate::xrpc::Client,
    input: &ContactRemoveDataInput,
) -> Result<ContactRemoveDataOutput, crate::xrpc::Error> {
    client.procedure("app.bsky.contact.removeData", input).await
}