pub struct EntityRules {
pub rules: HashMap<String, Vec<FieldRule>>,
}Expand description
Validation rule for an entity.field.
Fields§
§rules: HashMap<String, Vec<FieldRule>>Auto Trait Implementations§
impl Freeze for EntityRules
impl !RefUnwindSafe for EntityRules
impl Send for EntityRules
impl Sync for EntityRules
impl Unpin for EntityRules
impl UnsafeUnpin for EntityRules
impl !UnwindSafe for EntityRules
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