Validation
Validation
סקירה כללית
Validation הוא struct ב-Aspose.Cells FOSS עבור Rust.
מייצג אימות.
מבנה זה מצהיר על 29 שיטות עבור אובייקטי Validation בתוכניות Rust. השיטות הזמינות כוללות: 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 שיטות נוספות. חברים ציבוריים נגישים לכל יישום Rust לאחר התקנת חבילת Aspose.Cells FOSS for 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> | מסיר פריט. |