XlsxWorkbookWorksheetProtection
XlsxWorkbookWorksheetProtection
Visión general
XlsxWorkbookWorksheetProtection es una struct en Aspose.Cells FOSS para Rust. Hereda de: Default, Clone, PartialEq.
Esta struct declara 6 métodos para objetos XlsxWorkbookWorksheetProtection en programas Rust. Los métodos disponibles incluyen: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present. Los miembros públicos son accesibles para cualquier aplicación Rust después de instalar el paquete Aspose.Cells FOSS para Rust.
Métodos
| Firma | Descripción |
|---|---|
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::Value | Llama a build_sheet_protection_element(worksheet) en esta instancia de XlsxWorkbookWorksheetProtection. |
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String) | Llama a load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) en esta instancia de XlsxWorkbookWorksheetProtection. |
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → bool | Llama a parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) en esta instancia de XlsxWorkbookWorksheetProtection. |
read_optional_attribute(element: serde_json::Value, attribute_name: String) → String | Llama a read_optional_attribute(element, attribute_name) en esta instancia de XlsxWorkbookWorksheetProtection. |
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool) | Establece el atributo bool cuando el valor es true. |
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String) | Establece el atributo string cuando hay un valor presente. |