ValidationModel
概述
ValidationModel 是 Aspose.Cells Rust 的 FOSS 中的结构体。继承自:Debug、Clone、PartialEq,以及另 1 项。
此结构体为 Rust 程序中的 ValidationModel 对象声明了 1 个方法。可用的方法包括:default。在安装 Aspose.Cells Rust 的 FOSS 包后,公共成员对任何 Rust 应用程序均可访问。字段:alert_style、areas、error_message、error_title、formula1、formula2,以及另外 8 项。
字段
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
areas | Vec<CellArea> | 读写 | 获取区域。 |
validation_type | ValidationType | 读写 | 获取验证类型。 |
alert_style | ValidationAlertType | 读写 | 获取警报样式。 |
operator | OperatorType | 读写 | 获取运算符。 |
formula1 | Option<String> | 读写 | 获取 formula1。 |
formula2 | Option<String> | 读写 | 获取 formula2。 |
ignore_blank | bool | 读写 | 获取忽略空白。 |
in_cell_drop_down | bool | 读写 | 获取单元格内下拉列表。 |
input_title | Option<String> | 读写 | 获取输入标题。 |
input_message | Option<String> | 读写 | 获取输入消息。 |
error_title | Option<String> | 读写 | 获取错误标题。 |
error_message | Option<String> | 读写 | 获取错误信息。 |
show_input | bool | 读写 | 获取显示输入。 |
show_error | bool | 读写 | 获取显示错误。 |
方法
| 签名 | 描述 |
|---|---|
default() → Self | 对该 ValidationModel 实例调用默认。 |