Skip to main content

emit_result_init

Function emit_result_init 

Source
pub fn emit_result_init(
    b: &mut CodeBlockBuilder,
    response_type: &str,
    typed_responses: &[TypedResponse],
)
Expand description

Emit let mut result = FooResponse { status_code, field1: None, ... };