pub trait Fixture: Sized {
// Required method
fn fixture(seed: &mut Seed) -> Self;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
impl Fixture for Coordinate
impl Fixture for Currency
impl Fixture for Date
impl Fixture for Email
example.com never reaches anyone.
impl Fixture for Instant
A whole second, as a database stores it exactly.
impl Fixture for LocalDateTime
impl Fixture for Locale
impl Fixture for Money
impl Fixture for Percentage
impl Fixture for PersonName
impl Fixture for PhoneNumber
In the range kept for drama, so it rings nobody.
impl Fixture for Slug
impl Fixture for TimeOfDay
impl Fixture for TimeZone
impl Fixture for Url
example.com serves nobody’s real pages.