pub fn to_field_def(&self) -> proc_macro2::TokenStream {
        let ty = &self.ty;
        if let Some(wrapped_name) = &self.wrapped_name {
            quote! {
                #wrapped_name: ::std::option::Option<#ty>,
            }
        } else {
            let name = &self.name;
            quote! {
                #name: #ty,
            }
        }
    }
/// Wrap all required props in `Option`
Wrap all required props in `Option`
Wrap all required props in ` Option `
pub fn to_field_def(&self) -> proc_macro2::TokenStream {
        let ty = &self.ty;
        if let Some(wrapped_name) = &self.wrapped_name {
            quote! {
                #wrapped_name: ::std::option::Option<#ty>,
            }
        } else {
            let name = &self.name;
            quote! {
                #name: #ty,
            }
        }
    }
pub fn to_field_def ( & self ) -> proc_macro2 :: TokenStream { let ty = & self . ty ; if let Some ( wrapped_name ) = & self . wrapped_name { quote ! { wrapped_name std option Option ty } } else { let name = & self . name ; quote ! { name ty } } }
Wrap all required props in `Option`
Wrap all required props in ` Option `
&self
&self