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 SettingRemoveOptionsInput {
    #[serde(default, skip_serializing_if = "Vec::is_empty")]
    pub keys: Vec<crate::syntax::Nsid>,
    pub scope: 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 SettingRemoveOptionsOutput {
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// SettingRemoveOptions — Delete settings by key
pub async fn setting_remove_options(
    client: &crate::xrpc::Client,
    input: &SettingRemoveOptionsInput,
) -> Result<SettingRemoveOptionsOutput, crate::xrpc::Error> {
    client
        .procedure("tools.ozone.setting.removeOptions", input)
        .await
}