Skip to main content

generated_surface_default_candidate_json

Function generated_surface_default_candidate_json 

Source
pub fn generated_surface_default_candidate_json(
    state_path: &Path,
    surface_json: &str,
    context_json: &str,
    existing_json: Option<&str>,
    submitted_json: Option<&str>,
) -> Option<String>
Expand description

Builds a default generated-surface candidate from existing, declared, and submitted values.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::generated_surface_default_candidate_json can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::generated_surface_default_candidate_json.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_default_candidate_json(todo!(), "{}", todo!(), todo!(), todo!());