Docs.rs
prost-protovalidate-0.4.2
prost-protovalidate 0.4.2
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
zs-dima
Dependencies
cel ^0.13
normal
optional
chrono ^0.4
normal
optional
fluent-uri ^0.4
normal
prost ^0.14
normal
prost-protovalidate-types =0.4.2
normal
prost-reflect ^0.16
normal
prost-types ^0.14
normal
regex ^1
normal
serde_json ^1
normal
thiserror ^2.0
normal
tonic ^0.14
normal
optional
tonic-types ^0.14
normal
optional
criterion ^0.8.2
dev
pretty_assertions ^1
dev
proptest ^1
dev
prost-build ^0.14
dev
Versions
100%
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
Skip to main content
is_hostname
prost_
protovalidate
0.4.2
In prost_
protovalidate::
validators
prost_protovalidate
::
validators
Function
is_
hostname
Copy item path
Source
pub fn is_hostname(s: &
str
) ->
bool
Expand description
Returns
true
if
s
is a valid hostname per RFC 1123.