Validation
Validation
Przegląd
Validation jest struct w Aspose.Cells FOSS dla Rust.
Reprezentuje walidację.
Ten struct deklaruje 29 metod dla obiektów Validation w programach Rust. Dostępne metody obejmują: 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 oraz 17 dodatkowych metod. Publiczne elementy są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Metody
| Sygnatura | Opis |
|---|---|
areas() → Vec<CellArea> | Zwraca obszary, do których odnosi się to sprawdzenie. |
get_type() → ValidationType | Pobiera typ. |
set_type(value: ValidationType) | Ustawia typ. |
get_alert_style() → ValidationAlertType | Pobiera styl alertu. |
set_alert_style(value: ValidationAlertType) | Ustawia styl alertu. |
get_operator() → OperatorType | Pobiera operator. |
set_operator(value: OperatorType) | Ustawia operatora. |
get_formula1() → &str | Pobiera formułę1. |
set_formula1(value: impl Into<String>) | Ustawia formułę1. |
get_formula2() → &str | Pobiera formułę2. |
set_formula2(value: impl Into<String>) | Ustawia formula2. |
get_ignore_blank() → bool | Pobiera wartość wskazującą, czy ignorować puste. |
set_ignore_blank(value: bool) | Ustawia wartość wskazującą, czy ignorować puste. |
get_in_cell_drop_down() → bool | Pobiera wartość wskazującą, czy w komórce jest lista rozwijana. |
set_in_cell_drop_down(value: bool) | Ustawia wartość wskazującą, czy w komórce jest lista rozwijana. |
get_input_title() → &str | Pobiera tytuł wejścia. |
set_input_title(value: impl Into<String>) | Ustawia tytuł wejścia. |
get_input_message() → &str | Pobiera wiadomość wejściową. |
set_input_message(value: impl Into<String>) | Ustawia komunikat wejściowy. |
get_error_title() → &str | Pobiera tytuł błędu. |
set_error_title(value: impl Into<String>) | Ustawia tytuł błędu. |
get_error_message() → &str | Pobiera komunikat o błędzie. |
set_error_message(value: impl Into<String>) | Ustawia komunikat o błędzie. |
get_show_input() → bool | Zwraca wartość wskazującą, czy wyświetlać wejście. |
set_show_input(value: bool) | Ustawia wartość określającą, czy wyświetlać wejście. |
get_show_error() → bool | Zwraca wartość wskazującą, czy wyświetlać błąd. |
set_show_error(value: bool) | Ustawia wartość określającą, czy wyświetlić błąd. |
add_area(area: CellArea) → Result<(), CellsError> | Dodaje element. |
remove_area(area: CellArea) → Result<(), CellsError> | Usuwa element. |