Docs.rs
secs-types-0.4.1
secs-types 0.4.1
Docs.rs crate page
GPL-3.0-only
30 October 2026
Links
Homepage
Repository
crates.io
Source
Owners
115dkk
Dependencies
serde ^1.0.229
normal
strum ^0.28.0
normal
ts-rs ^12.0.1
normal
serde_json ^1.0.152
dev
Versions
78.96%
of the crate is documented
Go to latest version
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
role_code
secs_
types
0.4.1
In secs_
types::
role
secs_types
::
role
Function
role_
code
Copy item path
Source
pub fn role_code(role: &
str
) -> &
str