pub struct WorkbookProtectionConfig {
pub password: Option<String>,
pub lock_structure: bool,
pub lock_windows: bool,
pub lock_revision: bool,
}Expand description
Configuration for workbook protection.
Fields§
§password: Option<String>Optional password to protect the workbook.
lock_structure: boolLock the workbook structure (prevent adding/removing/renaming sheets).
lock_windows: boolLock the workbook window position and size.
lock_revision: boolLock revision tracking.
Trait Implementations§
Source§impl Clone for WorkbookProtectionConfig
impl Clone for WorkbookProtectionConfig
Source§fn clone(&self) -> WorkbookProtectionConfig
fn clone(&self) -> WorkbookProtectionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkbookProtectionConfig
impl Debug for WorkbookProtectionConfig
Source§impl Default for WorkbookProtectionConfig
impl Default for WorkbookProtectionConfig
Source§fn default() -> WorkbookProtectionConfig
fn default() -> WorkbookProtectionConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkbookProtectionConfig
impl RefUnwindSafe for WorkbookProtectionConfig
impl Send for WorkbookProtectionConfig
impl Sync for WorkbookProtectionConfig
impl Unpin for WorkbookProtectionConfig
impl UnwindSafe for WorkbookProtectionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more