Skip to main content

file_field_string

Function file_field_string 

Source
pub fn file_field_string(path: &Path, field: &str) -> Option<String>
Expand description

Performs file field string.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::file_field_string(std::path::Path::new("fixture.json"), "field");