Struct foo::MyType

source ·
pub struct MyType {
    pub field: Field,
}

Fields§

§field: Field

Implementations§

source§

impl MyType

source

pub fn builder() -> MyTypeBuilder

Instantiates a [MyTypeBuilder].

Use this function to define optional fields.

source

pub fn with_builder(_: MyTypeBuilder)