use fake::{Dummy, Fake, Faker, ResultFaker, StringFaker};
use std::pin::Pin;
use std::rc::Rc;
#[derive(Debug, Dummy)]
pub struct Foo {
#[dummy(faker = "1000..2000")]
pub order_id: usize,
pub customer: String,
pub paid: bool,
}
fn dummy_derive() {
let f: Foo = Faker.fake();
println!("{:?}", f);
}
fn main() {
dummy_derive();
// option
println!("Option {:?}", Faker.fake::