Module serde_types

Source
Expand description

Helper/wrapper types with good serde support

I.e. are made explicitly for good representations that can be used in config and state files. They (generally) also support FromStr, and thus are also usable with the clap command line parser.

Modulesยง

allowed_env_var
date_and_time
Date-and-time representations that can be nicely serialized/deserialized
git_branch_name
git_hash
git_reference
git_url
key_val
A key/val pair that supports serde and command line parsing for clap.
map
A map that supports serde and construction via Vec<KeyVal>, and that way, command line parsing via clap.
priority
proper_dirname
proper_filename
regex
tilde_path
val_or_ref
Do not confuse with RefOrOwned: RefOrOwned is for Rust references, this is for string references to some keyed collection.