Validation
概要
Validation は Aspose.Cells の Rust 用 FOSS における struct です。
バリデーションを表します。
この struct は Rust プログラムの Validation オブジェクト用に 29 個のメソッドを宣言します。利用可能なメソッドは 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、および追加の 17 個のメソッドです。パブリックメンバーは、Aspose.Cells の Rust 用 FOSS パッケージをインストールした後、任意の Rust アプリケーションからアクセス可能です。
メソッド
| シグネチャ | 説明 |
|---|---|
areas() → Vec<CellArea> | この検証が適用される領域を取得します。 |
get_type() → ValidationType | 型を取得します。 |
set_type(value: ValidationType) | 型を設定します。 |
get_alert_style() → ValidationAlertType | アラートスタイルを取得します。 |
set_alert_style(value: ValidationAlertType) | アラートスタイルを設定します。 |
get_operator() → OperatorType | 演算子を取得します。 |
set_operator(value: OperatorType) | 演算子を設定します。 |
get_formula1() → &str | formula1 を取得します。 |
set_formula1(value: impl Into<String>) | formula1 を設定します。 |
get_formula2() → &str | formula2 を取得します。 |
set_formula2(value: impl Into<String>) | formula2 を設定します。 |
get_ignore_blank() → bool | 空白を無視するかどうかを示す値を取得します。 |
set_ignore_blank(value: bool) | 空白を無視するかどうかを示す値を設定します。 |
get_in_cell_drop_down() → bool | セルのドロップダウンかどうかを示す値を取得します。 |
set_in_cell_drop_down(value: bool) | セルのドロップダウンであるかどうかを示す値を設定します。 |
get_input_title() → &str | 入力タイトルを取得します。 |
set_input_title(value: impl Into<String>) | 入力タイトルを設定します。 |
get_input_message() → &str | 入力メッセージを取得します。 |
set_input_message(value: impl Into<String>) | 入力メッセージを設定します。 |
get_error_title() → &str | エラーのタイトルを取得します。 |
set_error_title(value: impl Into<String>) | エラー タイトルを設定します。 |
get_error_message() → &str | エラーメッセージを取得します。 |
set_error_message(value: impl Into<String>) | エラーメッセージを設定します。 |
get_show_input() → bool | 入力を表示するかどうかを示す値を取得します。 |
set_show_input(value: bool) | 入力を表示するかどうかを示す値を設定します。 |
get_show_error() → bool | エラーを表示するかどうかを示す値を取得します。 |
set_show_error(value: bool) | エラーを表示するかどうかを示す値を設定します。 |
add_area(area: CellArea) → Result<(), CellsError> | 項目を追加します。 |
remove_area(area: CellArea) → Result<(), CellsError> | 項目を削除します。 |