WorkbookProtection
Overview
WorkbookProtection is a struct in Aspose.Cells FOSS for Rust.
Inherits from: Debug, Clone, PartialEq, and 2 more.
Represents workbook protection.
This struct provides 42 methods for working with WorkbookProtection objects in Rust programs.
Available methods include: get_is_protected, get_lock_revision, get_lock_structure, get_lock_windows, get_revisions_algorithm_name, get_revisions_hash_value, get_revisions_password, get_revisions_salt_value, get_revisions_spin_count, get_workbook_algorithm_name, get_workbook_hash_value, get_workbook_password, and 30 additional methods.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Fields: revision, revisions_algorithm_name, revisions_hash_value, revisions_password, revisions_salt_value, revisions_spin_count, and 7 more.
Fields
| Name | Type | Access | Description |
|---|---|---|---|
structure | bool | Read/Write | Gets the structure. |
windows | bool | Read/Write | Gets the windows. |
revision | bool | Read/Write | Gets the revision. |
workbook_password | String | Read/Write | Gets the workbook password. |
revisions_password | String | Read/Write | Gets the revisions password. |
workbook_algorithm_name | String | Read/Write | Gets the workbook algorithm name. |
workbook_hash_value | String | Read/Write | Gets the workbook hash value. |
workbook_salt_value | String | Read/Write | Gets the workbook salt value. |
workbook_spin_count | Option<u32> | Read/Write | Gets the workbook spin count. |
revisions_algorithm_name | String | Read/Write | Gets the revisions algorithm name. |
revisions_hash_value | String | Read/Write | Gets the revisions hash value. |
revisions_salt_value | String | Read/Write | Gets the revisions salt value. |
revisions_spin_count | Option<u32> | Read/Write | Gets the revisions spin count. |
Methods
| Signature | Description |
|---|---|
lock_structure() → bool | Gets a value indicating whether lock structure. |
get_lock_structure() → bool | Gets a value indicating whether lock structure. |
set_lock_structure(value: bool) | Sets a value indicating whether lock structure. |
lock_windows() → bool | Gets a value indicating whether lock windows. |
get_lock_windows() → bool | Gets a value indicating whether lock windows. |
set_lock_windows(value: bool) | Sets a value indicating whether lock windows. |
lock_revision() → bool | Gets a value indicating whether lock revision. |
get_lock_revision() → bool | Gets a value indicating whether lock revision. |
set_lock_revision(value: bool) | Sets a value indicating whether lock revision. |
workbook_password() → &str | Gets the workbook password. |
get_workbook_password() → &str | Gets the workbook password. |
set_workbook_password(value: impl Into<String>) | Sets the workbook password. |
revisions_password() → &str | Gets the revisions password. |
get_revisions_password() → &str | Gets the revisions password. |
set_revisions_password(value: impl Into<String>) | Sets the revisions password. |
workbook_algorithm_name() → &str | Gets the workbook algorithm name. |
get_workbook_algorithm_name() → &str | Gets the workbook algorithm name. |
set_workbook_algorithm_name(value: impl Into<String>) | Sets the workbook algorithm name. |
workbook_hash_value() → &str | Gets the workbook hash value. |
get_workbook_hash_value() → &str | Gets the workbook hash value. |
set_workbook_hash_value(value: impl Into<String>) | Sets the workbook hash value. |
workbook_salt_value() → &str | Gets the workbook salt value. |
get_workbook_salt_value() → &str | Gets the workbook salt value. |
set_workbook_salt_value(value: impl Into<String>) | Sets the workbook salt value. |
workbook_spin_count() → Option<u32> | Gets the workbook spin count. |
get_workbook_spin_count() → Option<u32> | Gets the workbook spin count. |
set_workbook_spin_count(value: Option<u32>) | Sets the workbook spin count. |
revisions_algorithm_name() → &str | Gets the revisions algorithm name. |
get_revisions_algorithm_name() → &str | Gets the revisions algorithm name. |
set_revisions_algorithm_name(value: impl Into<String>) | Sets the revisions algorithm name. |
revisions_hash_value() → &str | Gets the revisions hash value. |
get_revisions_hash_value() → &str | Gets the revisions hash value. |
set_revisions_hash_value(value: impl Into<String>) | Sets the revisions hash value. |
revisions_salt_value() → &str | Gets the revisions salt value. |
get_revisions_salt_value() → &str | Gets the revisions salt value. |
set_revisions_salt_value(value: impl Into<String>) | Sets the revisions salt value. |
revisions_spin_count() → Option<u32> | Gets the revisions spin count. |
get_revisions_spin_count() → Option<u32> | Gets the revisions spin count. |
set_revisions_spin_count(value: Option<u32>) | Sets the revisions spin count. |
is_protected() → bool | Gets a value indicating whether protected. |
get_is_protected() → bool | Gets a value indicating whether protected. |
reset() | Resets the current object to its default state. |