pub struct ProtectSheetAdvancedInput {Show 15 fields
pub workbook_id: String,
pub sheet_name: String,
pub password: Option<String>,
pub allow_insert_rows: Option<bool>,
pub allow_delete_rows: Option<bool>,
pub allow_insert_columns: Option<bool>,
pub allow_delete_columns: Option<bool>,
pub allow_format_cells: Option<bool>,
pub allow_format_columns: Option<bool>,
pub allow_format_rows: Option<bool>,
pub allow_sort: Option<bool>,
pub allow_insert_hyperlinks: Option<bool>,
pub allow_select_locked_cells: Option<bool>,
pub allow_select_unlocked_cells: Option<bool>,
pub allow_pivot_tables: Option<bool>,
}Expand description
Input for protecting a sheet with granular options
Fields§
§workbook_id: String§sheet_name: String§password: Option<String>§allow_insert_rows: Option<bool>Allow inserting rows (default: locked)
allow_delete_rows: Option<bool>Allow deleting rows
allow_insert_columns: Option<bool>Allow inserting columns
allow_delete_columns: Option<bool>Allow deleting columns
allow_format_cells: Option<bool>Allow formatting cells
allow_format_columns: Option<bool>Allow formatting columns
allow_format_rows: Option<bool>Allow formatting rows
allow_sort: Option<bool>Allow sorting
allow_insert_hyperlinks: Option<bool>Allow inserting hyperlinks
allow_select_locked_cells: Option<bool>Allow selecting locked cells
allow_select_unlocked_cells: Option<bool>Allow selecting unlocked cells
allow_pivot_tables: Option<bool>Allow pivot tables
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProtectSheetAdvancedInput
impl<'de> Deserialize<'de> for ProtectSheetAdvancedInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ProtectSheetAdvancedInput
impl JsonSchema for ProtectSheetAdvancedInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ProtectSheetAdvancedInput
impl RefUnwindSafe for ProtectSheetAdvancedInput
impl Send for ProtectSheetAdvancedInput
impl Sync for ProtectSheetAdvancedInput
impl Unpin for ProtectSheetAdvancedInput
impl UnsafeUnpin for ProtectSheetAdvancedInput
impl UnwindSafe for ProtectSheetAdvancedInput
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