XlsxWorkbookWorksheetProtection
XlsxWorkbookWorksheetProtection
Genel Bakış
XlsxWorkbookWorksheetProtection, Rust için Aspose.Cells FOSS içinde bir struct’tır. Şunlardan miras alır: Default, Clone, PartialEq.
Bu struct, Rust programlarındaki XlsxWorkbookWorksheetProtection nesneleri için 6 yöntem bildirir. Kullanılabilir yöntemler şunlardır: build_sheet_protection_element, load_worksheet_protection, parse_protection_boolean_attribute, read_optional_attribute, set_bool_attribute_when_true, set_string_attribute_when_present. Genel üyeler, Aspose.Cells FOSS for Rust paketini kurduktan sonra herhangi bir Rust uygulaması tarafından erişilebilir.
Yöntemler
| İmza | Açıklama |
|---|---|
build_sheet_protection_element(worksheet: WorksheetModel) → serde_json::Value | Bu XlsxWorkbookWorksheetProtection örneğinde build_sheet_protection_element(worksheet) çağırır. |
load_worksheet_protection(worksheet_model: WorksheetModel, worksheet_root: serde_json::Value, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String) | Bu XlsxWorkbookWorksheetProtection örneğinde load_worksheet_protection(worksheet_model, worksheet_root, diagnostics, options, sheet_name) çağırır. |
parse_protection_boolean_attribute(attribute: serde_json::Value, default_value: bool, diagnostics: LoadDiagnostics, options: LoadOptions, sheet_name: String, attribute_name: String) → bool | Bu XlsxWorkbookWorksheetProtection örneğinde parse_protection_boolean_attribute(attribute, default_value, diagnostics, options, sheet_name, attribute_name) çağırır. |
read_optional_attribute(element: serde_json::Value, attribute_name: String) → String | Bu XlsxWorkbookWorksheetProtection örneğinde read_optional_attribute(element, attribute_name) çağırır. |
set_bool_attribute_when_true(element: serde_json::Value, attribute_name: String, value: bool) | Değer true olduğunda bool özelliğini ayarlar. |
set_string_attribute_when_present(element: serde_json::Value, attribute_name: String, value: String) | Mevcut değer olduğunda dize özniteliğini ayarlar. |