XlsxWorkbookWorksheetProtection
XlsxWorkbookWorksheetProtection
Przegląd
XlsxWorkbookWorksheetProtection jest structem w Aspose.Cells FOSS dla Rust. Dziedziczy po: Default, Clone, PartialEq.
Ten struct deklaruje 6 metod dla obiektów XlsxWorkbookWorksheetProtection w programach Rust. Dostępne metody obejmują: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present. Publiczne członki są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Metody
| Sygnatura | Opis |
|---|---|
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::Value | Wywołuje build_sheet_protection_element(worksheet) na tej instancji XlsxWorkbookWorksheetProtection. |
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String) | Wywołuje load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) na tej instancji XlsxWorkbookWorksheetProtection. |
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → bool | Wywołuje parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) na tej instancji XlsxWorkbookWorksheetProtection. |
read_optional_attribute(element: serde_json::Value, attribute_name: String) → String | Wywołuje read_optional_attribute(element, attribute_name) na tej instancji XlsxWorkbookWorksheetProtection. |
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool) | Ustawia atrybut typu bool, gdy wartość jest prawdziwa. |
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String) | Ustawia atrybut string, gdy wartość jest obecna. |