Docs.rs
agtrace-types-0.1.15
agtrace-types 0.1.15
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
zawakin
Dependencies
anyhow ^1.0
normal
chrono ^0.4
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
uuid ^1.19
normal
tempfile ^3.24
dev
Versions
49.19%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
truncate
agtrace_
types
0.1.15
agtrace_types
Function
truncate
Copy item path
Source
pub fn truncate(s: &
str
, max:
usize
) ->
String
Expand description
Truncate a string to a maximum length