pub struct AddDataValidationInput {
pub workbook_id: String,
pub sheet_name: String,
pub range: String,
pub validation: ValidationRule,
pub input_message: Option<ValidationMessage>,
pub error_alert: Option<ValidationAlert>,
}Expand description
Input for adding data validation to a range
Fields§
§workbook_id: StringThe workbook handle
sheet_name: StringName of the target sheet
range: StringRange to apply validation to in A1:B2 notation
validation: ValidationRuleThe validation rule definition
input_message: Option<ValidationMessage>Optional input message shown when the cell is selected
error_alert: Option<ValidationAlert>Optional error alert shown when invalid data is entered
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddDataValidationInput
impl<'de> Deserialize<'de> for AddDataValidationInput
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 AddDataValidationInput
impl JsonSchema for AddDataValidationInput
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 AddDataValidationInput
impl RefUnwindSafe for AddDataValidationInput
impl Send for AddDataValidationInput
impl Sync for AddDataValidationInput
impl Unpin for AddDataValidationInput
impl UnsafeUnpin for AddDataValidationInput
impl UnwindSafe for AddDataValidationInput
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