XlsxWorkbookWorksheetProtection

XlsxWorkbookWorksheetProtection

Tổng quan

XlsxWorkbookWorksheetProtection là một struct trong Aspose.Cells FOSS cho Rust. Kế thừa từ: Default, Clone, PartialEq.

Struct này khai báo 6 phương thức cho các đối tượng XlsxWorkbookWorksheetProtection trong các chương trình Rust. Các phương thức có sẵn bao gồm: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present. Các thành viên công cộng có thể truy cập bởi bất kỳ ứng dụng Rust nào sau khi cài đặt gói Aspose.Cells FOSS cho Rust.

Phương thức

Chữ kýMô tả
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::ValueGọi build_sheet_protection_element(worksheet) trên đối tượng XlsxWorkbookWorksheetProtection này.
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String)Gọi load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) trên đối tượng XlsxWorkbookWorksheetProtection này.
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → boolGọi parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) trên đối tượng XlsxWorkbookWorksheetProtection này.
read_optional_attribute(element: serde_json::Value, attribute_name: String) → StringGọi read_optional_attribute(element, attribute_name) trên đối tượng XlsxWorkbookWorksheetProtection này.
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool)Đặt thuộc tính bool khi giá trị là true.
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String)Đặt thuộc tính chuỗi khi có giá trị.

Xem thêm

 Tiếng Việt