combine_data

Function combine_data 

Source
pub fn combine_data(
    input_a: TokenStream,
    input_b: TokenStream,
    args_input: Option<TokenStream>,
) -> TokenStream
Expand description

Combines two datas into a single data using TokenStreams.

Additionally, optionally a stream of arguments can provided. At time of writing, the supported arguments are merge_on_conflict and filter(list).

The resulting TokenStream can then be used by a procedural macro to generate code that represents the new combined data.

See extendable_data_helpers::extendable_data for the macro that generates the code.