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

/// SetAddValues — Add values to a specific set. Attempting to add values to a set that does not exist will result i...
pub async fn set_add_values(
    client: &crate::xrpc::Client,
    input: &SetAddValuesInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client.procedure("tools.ozone.set.addValues", input).await?;
    Ok(())
}