pub struct CellLayout {
pub addr: String,
pub formula: Option<String>,
pub value: Option<String>,
pub number_format: Option<String>,
pub fill_argb: Option<String>,
pub font_argb: Option<String>,
}Expand description
One captured cell: its A1 address within the owning sheet + the original
formula/value text + the number format + the fill/font ARGBs. Every field is
owned + Option-where-absent so the writer replays exactly what the offline
ingest captured (no umya type crosses this boundary).
Fields§
§addr: StringA1 address within the owning sheet (e.g. "C11"). The writer converts this
to a (row, col) coordinate via crate::resolve::parse_a1.
formula: Option<String>The original formula text WITHOUT the leading = (None when not a
formula). The writer may replay this as a formula-with-cached-result.
value: Option<String>The cell’s original computed/literal value as text (None when empty).
number_format: Option<String>The number-format code (e.g. "#,##0.00"), None when General/unset.
fill_argb: Option<String>The fill (background) ARGB (e.g. "FFE2EFDA"), None when unset.
font_argb: Option<String>The font colour ARGB (e.g. "FF0000FF"), None when unset.
Trait Implementations§
Source§impl Clone for CellLayout
impl Clone for CellLayout
Source§fn clone(&self) -> CellLayout
fn clone(&self) -> CellLayout
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CellLayout
impl Debug for CellLayout
Source§impl<'de> Deserialize<'de> for CellLayout
impl<'de> Deserialize<'de> for CellLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for CellLayout
impl JsonSchema for CellLayout
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for CellLayout
impl PartialEq for CellLayout
Source§fn eq(&self, other: &CellLayout) -> bool
fn eq(&self, other: &CellLayout) -> bool
self and other values to be equal, and is used by ==.