Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRustdefault and blanket implsSingle-choice MCQ

You implement `Default` for a struct with `#[derive(Default)]`. What is required of the field types?

#[derive(Default)] struct Config { retries: u32, name: String, handler: Option<fn()>, }