Docs.rs
serde_prometheus_labels-0.2.0
serde_prometheus_labels 0.2.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
nox
Dependencies
itoa ^1
normal
parking_lot ^0.12.1
normal
optional
prometheus-client ^0.18
normal
optional
ryu ^1
normal
serde ^1
normal
serde ^1
dev
Versions
85.71%
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
Crate serde_prometheus_labels
serde_
prometheus_
labels
0.2.0
All Items
Crate Items
Structs
Functions
Crate
serde_
prometheus_
labels
Copy item path
Source
Structs
§
Error
A serialization error.
Family
A wrapper around
prometheus_client::metrics::family::Family
which encodes its labels with
Serialize
instead of
Encode
.
Functions
§
serializer
A serializer for Prometheus labels.
to_
string
Serializes
value
into a
String
.
to_vec
Serializes
value
into a
Vec<u8>
.
to_
writer
Serializes
value
into
writer
.