truecalc-workbook 4.0.0

Workbook layer for the truecalc spreadsheet engine — engine-locked workbook, worksheet, and cell value types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

/// A workbook-scoped named range (schema spec §7).
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct NamedRange {
    /// The name, e.g. `TaxRate`. Unique across the workbook
    /// (case-insensitive); must not parse as an A1 address, an R1C1-style
    /// reference, or a boolean literal.
    pub name: String,
    /// Canonical sheet-qualified A1 reference: `Sheet!A1` or `Sheet!A1:B2`.
    #[serde(rename = "ref")]
    pub r#ref: String,
}