Expand description
Shared types every SendMock crate builds on: events, value objects, errors and the clock and id traits.
Re-exports§
pub use byte_size::parse_size_bytes;pub use clock::Clock;pub use clock::FixedClock;pub use clock::SystemClock;pub use credentials_file::read_credentials_file;pub use file_checksums::FileChecksums;pub use file_checksums::compute_file_checksums;pub use id_generator::IdGenerator;pub use id_generator::SequentialIdGenerator;pub use id_generator::SystemIdGenerator;pub use random_source::RandomSource;pub use random_source::SeededRandomSource;pub use random_source::SystemRandomSource;pub use template::RenderedTemplate;pub use template::StandardTemplateFunctions;pub use template::TemplateEscape;pub use template::TemplateFunctions;pub use template::TemplateProblem;pub use template::TemplateProblemSeverity;pub use template::TemplateRenderMode;pub use template::evaluate_template_expression;pub use template::render_template;pub use template::render_template_in_mode;pub use timestamp::add_calendar_months;pub use timestamp::format_rfc3339;pub use timestamp::format_rfc5322;pub use timestamp::parse_duration_ms;pub use timestamp::parse_rfc3339;pub use wildcard_pattern::matches_wildcard_pattern;
Modules§
- byte_
size - clock
- credentials_
file - file_
checksums - The checksums mail tools show for a file, as lowercase hex.
- id_
generator - random_
source - template
- The template language shared by webhook templates, provider definitions and gateways:
Jinja syntax on
minijinja, with SendMock’s filters and functions (12). - timestamp
- wildcard_
pattern