pub enum ValidationSetItem {
GlobalRuleRef(String),
InlineRule {
name: Option<String>,
validation: ValidationSettings,
},
}Variants§
Trait Implementations§
Source§impl Clone for ValidationSetItem
impl Clone for ValidationSetItem
Source§fn clone(&self) -> ValidationSetItem
fn clone(&self) -> ValidationSetItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValidationSetItem
impl Debug for ValidationSetItem
Source§impl<'de> Deserialize<'de> for ValidationSetItem
impl<'de> Deserialize<'de> for ValidationSetItem
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
Auto Trait Implementations§
impl Freeze for ValidationSetItem
impl RefUnwindSafe for ValidationSetItem
impl Send for ValidationSetItem
impl Sync for ValidationSetItem
impl Unpin for ValidationSetItem
impl UnsafeUnpin for ValidationSetItem
impl UnwindSafe for ValidationSetItem
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