Validation
Overview
Validation is a struct in Aspose.Cells FOSS for Rust.
Represents validation.
This struct provides 29 methods for working with Validation objects in Rust programs.
Available methods include: add_area, areas, get_alert_style, get_error_message, get_error_title, get_formula1, get_formula2, get_ignore_blank, get_in_cell_drop_down, get_input_message, get_input_title, get_operator, and 17 additional methods.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
areas() → Vec<CellArea> | Gets the areas to which this validation applies. |
get_type() → ValidationType | Gets the type. |
set_type(value: ValidationType) | Sets the type. |
get_alert_style() → ValidationAlertType | Gets the alert style. |
set_alert_style(value: ValidationAlertType) | Sets the alert style. |
get_operator() → OperatorType | Gets the operator. |
set_operator(value: OperatorType) | Sets the operator. |
get_formula1() → &str | Gets the formula1. |
set_formula1(value: impl Into<String>) | Sets the formula1. |
get_formula2() → &str | Gets the formula2. |
set_formula2(value: impl Into<String>) | Sets the formula2. |
get_ignore_blank() → bool | Gets a value indicating whether ignore blank. |
set_ignore_blank(value: bool) | Sets a value indicating whether ignore blank. |
get_in_cell_drop_down() → bool | Gets a value indicating whether in cell drop down. |
set_in_cell_drop_down(value: bool) | Sets a value indicating whether in cell drop down. |
get_input_title() → &str | Gets the input title. |
set_input_title(value: impl Into<String>) | Sets the input title. |
get_input_message() → &str | Gets the input message. |
set_input_message(value: impl Into<String>) | Sets the input message. |
get_error_title() → &str | Gets the error title. |
set_error_title(value: impl Into<String>) | Sets the error title. |
get_error_message() → &str | Gets the error message. |
set_error_message(value: impl Into<String>) | Sets the error message. |
get_show_input() → bool | Gets a value indicating whether show input. |
set_show_input(value: bool) | Sets a value indicating whether show input. |
get_show_error() → bool | Gets a value indicating whether show error. |
set_show_error(value: bool) | Sets a value indicating whether show error. |
add_area(area: CellArea) → Result<(), CellsError> | Adds an item. |
remove_area(area: CellArea) → Result<(), CellsError> | Removes an item. |