pub struct PatchedBulkWritableRegularExpressionValidationRuleRequest {
pub id: Uuid,
pub content_type: Option<String>,
pub name: Option<String>,
pub field: Option<String>,
pub enabled: Option<bool>,
pub error_message: Option<String>,
pub regular_expression: Option<String>,
pub context_processing: Option<bool>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
PatchedBulkWritableRegularExpressionValidationRuleRequest : Serializer for RegularExpressionValidationRule objects.
Fields§
§id: Uuid§content_type: Option<String>§name: Option<String>§field: Option<String>§enabled: Option<bool>§error_message: Option<String>Optional error message to display when validation fails.
regular_expression: Option<String>§context_processing: Option<bool>When enabled, the regular expression value is first processed as a Jinja2 template with access to the context of the data being validated in a variable named object.
custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedBulkWritableRegularExpressionValidationRuleRequest
impl PatchedBulkWritableRegularExpressionValidationRuleRequest
Sourcepub fn new(
id: Uuid,
) -> PatchedBulkWritableRegularExpressionValidationRuleRequest
pub fn new( id: Uuid, ) -> PatchedBulkWritableRegularExpressionValidationRuleRequest
Serializer for RegularExpressionValidationRule objects.
Trait Implementations§
Source§impl Clone for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl Clone for PatchedBulkWritableRegularExpressionValidationRuleRequest
Source§fn clone(&self) -> PatchedBulkWritableRegularExpressionValidationRuleRequest
fn clone(&self) -> PatchedBulkWritableRegularExpressionValidationRuleRequest
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 Default for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl Default for PatchedBulkWritableRegularExpressionValidationRuleRequest
Source§fn default() -> PatchedBulkWritableRegularExpressionValidationRuleRequest
fn default() -> PatchedBulkWritableRegularExpressionValidationRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl<'de> Deserialize<'de> for PatchedBulkWritableRegularExpressionValidationRuleRequest
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 PartialEq for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl PartialEq for PatchedBulkWritableRegularExpressionValidationRuleRequest
Source§fn eq(
&self,
other: &PatchedBulkWritableRegularExpressionValidationRuleRequest,
) -> bool
fn eq( &self, other: &PatchedBulkWritableRegularExpressionValidationRuleRequest, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedBulkWritableRegularExpressionValidationRuleRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl RefUnwindSafe for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl Send for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl Sync for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl Unpin for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl UnsafeUnpin for PatchedBulkWritableRegularExpressionValidationRuleRequest
impl UnwindSafe for PatchedBulkWritableRegularExpressionValidationRuleRequest
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