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

SignatureDescription
areas()Vec<CellArea>Gets the areas to which this validation applies.
get_type()ValidationTypeGets the type.
set_type(value: ValidationType)Sets the type.
get_alert_style()ValidationAlertTypeGets the alert style.
set_alert_style(value: ValidationAlertType)Sets the alert style.
get_operator()OperatorTypeGets the operator.
set_operator(value: OperatorType)Sets the operator.
get_formula1()&strGets the formula1.
set_formula1(value: impl Into<String>)Sets the formula1.
get_formula2()&strGets the formula2.
set_formula2(value: impl Into<String>)Sets the formula2.
get_ignore_blank()boolGets a value indicating whether ignore blank.
set_ignore_blank(value: bool)Sets a value indicating whether ignore blank.
get_in_cell_drop_down()boolGets 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()&strGets the input title.
set_input_title(value: impl Into<String>)Sets the input title.
get_input_message()&strGets the input message.
set_input_message(value: impl Into<String>)Sets the input message.
get_error_title()&strGets the error title.
set_error_title(value: impl Into<String>)Sets the error title.
get_error_message()&strGets the error message.
set_error_message(value: impl Into<String>)Sets the error message.
get_show_input()boolGets a value indicating whether show input.
set_show_input(value: bool)Sets a value indicating whether show input.
get_show_error()boolGets 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.

See Also