ValidationModel
ValidationModel
ภาพรวม
ValidationModel เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust. สืบทอดจาก: Debug, Clone, PartialEq และอีก 1 รายการ.
struct นี้ประกาศ 1 เมธอดสำหรับอ็อบเจ็กต์ ValidationModel ในโปรแกรม Rust. เมธอดที่มีรวมถึง: default. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใดก็ได้หลังจากติดตั้งแพ็กเกจ Aspose.Cells FOSS สำหรับ Rust. ฟิลด์: alert_style, areas, error_message, error_title, formula1, formula2, และอีก 8 รายการ.
ฟิลด์
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
areas | Vec<CellArea> | อ่าน/เขียน | รับพื้นที่. |
validation_type | ValidationType | อ่าน/เขียน | รับประเภทการตรวจสอบ. |
alert_style | ValidationAlertType | อ่าน/เขียน | รับสไตล์การแจ้งเตือน. |
operator | OperatorType | อ่าน/เขียน | รับตัวดำเนินการ. |
formula1 | Option<String> | อ่าน/เขียน | รับสูตร1. |
formula2 | Option<String> | อ่าน/เขียน | รับสูตร2. |
ignore_blank | bool | อ่าน/เขียน | รับค่า ignore blank. |
in_cell_drop_down | bool | อ่าน/เขียน | รับค่าดรอปดาวน์ในเซลล์. |
input_title | Option<String> | อ่าน/เขียน | รับชื่อเรื่องอินพุต. |
input_message | Option<String> | อ่าน/เขียน | รับข้อความอินพุต. |
error_title | Option<String> | อ่าน/เขียน | รับชื่อข้อผิดพลาด. |
error_message | Option<String> | อ่าน/เขียน | รับข้อความข้อผิดพลาด. |
show_input | bool | อ่าน/เขียน | รับอินพุตการแสดงผล. |
show_error | bool | อ่าน/เขียน | รับค่าการแสดงข้อผิดพลาด. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
default() → Self | เรียกใช้ค่าเริ่มต้นบนอินสแตนซ์ ValidationModel นี้. |