Docs.rs
ruma-identifiers-validation-0.11.0
ruma-identifiers-validation 0.11.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
jplatte
github:ruma:maintainers
Dependencies
js_int ^0.2.2
normal
thiserror ^2.0.0
normal
Versions
65.28%
of the crate is documented
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
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
validate
ruma_
identifiers_
validation
0.11.0
In ruma_
identifiers_
validation::
user_
id
ruma_identifiers_validation
::
user_id
Function
validate
Copy item path
Source
pub fn validate(s: &
str
) ->
Result
<
()
,
Error
>
Expand description
Validate a
user ID
as used by clients.