Docs.rs
validify_derive-2.0.0
validify_derive 2.0.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
biblius
Dependencies
chrono ^0.4.24
normal
lazy_static ^1.4.0
normal
proc-macro-error ^1.0.4
normal
proc-macro2 ^1.0.56
normal
quote ^1.0.26
normal
regex ^1.5.5
normal
syn ^2.0.15
normal
Versions
83.33%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
validify_
derive
2.0.0
All Items
Crate Items
Macros
Attribute Macros
Derive Macros
Crate
validify_derive
Copy item path
Source
Macros
§
schema_
err
Designed to be used with the
schema_validation
macro. Used for ergonomic custom error handling.
Attribute Macros
§
schema_
validation
A shortcut for ergonomic error creation in custom schema validaton functions.
Derive Macros
§
Payload
Generates a struct with the same structure of the implementing struct with all its fields as options. This can only be used on struct that implement
Validify
. Any nested structs must also contain their corresponding payloads.
Validate
Enables the use of
#[validate]
attributes on struct/enum fields and implements the
Validate
trait based on the provided attributes.
Validify
Implements
Validate
and
Modify
in one trait.