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

/// SetDeleteSet — Delete an entire set. Attempting to delete a set that does not exist will result in an error.
pub async fn set_delete_set(
    client: &crate::xrpc::Client,
    input: &SetDeleteSetInput,
) -> Result<SetDeleteSetOutput, crate::xrpc::Error> {
    client.procedure("tools.ozone.set.deleteSet", input).await
}