get_any_field_string_in_struct

Function get_any_field_string_in_struct 

Source
pub unsafe fn get_any_field_string_in_struct(
    st: &Struct<'_>,
    field: &Field<'_>,
    schema: &Schema<'_>,
) -> String
Expand description

Returns the value of any struct field as a string, regardless of what type it is.

ยงSafety

[st] must contain valid offsets that match the [field].