Docs.rs
validator-0.15.0
validator 0.15.0
Docs.rs crate page
MIT
Links
Homepage
Repository
Crates.io
Source
Owners
Keats
Dependencies
card-validate ^2.2
normal
idna ^0.2
normal
indexmap ^1
normal
lazy_static ^1
normal
phonenumber ^0.3
normal
regex ^1
normal
serde ^1
normal
serde_derive ^1
normal
serde_json ^1
normal
unic-ucd-common ^0.9
normal
url ^2
normal
validator_derive ^0.15
normal
Versions
51.72%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In validator
?
Function
validator
::
validate_required
source
·
[
−
]
pub fn validate_required<T>(val: &
Option
<T>) ->
bool
Expand description
Validates whether the given Option is Some