Struct xlsxwriter::worksheet::Protection
source · pub struct Protection {Show 17 fields
pub no_select_locked_cells: bool,
pub no_select_unlocked_cells: bool,
pub format_cells: bool,
pub format_columns: bool,
pub format_rows: bool,
pub insert_columns: bool,
pub insert_rows: bool,
pub insert_hyperlinks: bool,
pub delete_columns: bool,
pub delete_rows: bool,
pub sort: bool,
pub autofilter: bool,
pub pivot_tables: bool,
pub scenarios: bool,
pub objects: bool,
pub no_content: bool,
pub no_objects: bool,
}
Expand description
Sheet protection
Fields§
§no_select_locked_cells: bool
§no_select_unlocked_cells: bool
§format_cells: bool
§format_columns: bool
§format_rows: bool
§insert_columns: bool
§insert_rows: bool
§insert_hyperlinks: bool
§delete_columns: bool
§delete_rows: bool
§sort: bool
§autofilter: bool
§pivot_tables: bool
§scenarios: bool
§objects: bool
§no_content: bool
§no_objects: bool
Implementations§
source§impl Protection
impl Protection
pub fn new() -> Protection
Trait Implementations§
source§impl Clone for Protection
impl Clone for Protection
source§fn clone(&self) -> Protection
fn clone(&self) -> Protection
Returns a copy 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 Protection
impl Debug for Protection
source§impl Default for Protection
impl Default for Protection
source§impl From<&Protection> for lxw_protection
impl From<&Protection> for lxw_protection
source§fn from(protection: &Protection) -> lxw_protection
fn from(protection: &Protection) -> lxw_protection
Converts to this type from the input type.
source§impl PartialEq<Protection> for Protection
impl PartialEq<Protection> for Protection
source§fn eq(&self, other: &Protection) -> bool
fn eq(&self, other: &Protection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Protection> for Protection
impl PartialOrd<Protection> for Protection
source§fn partial_cmp(&self, other: &Protection) -> Option<Ordering>
fn partial_cmp(&self, other: &Protection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more