Skip to main content

string_value_opt

Function string_value_opt 

Source
pub fn string_value_opt(value: Option<&XmlValue>) -> String
Expand description

Get the string value of an optional value.

Returns empty string for None (empty sequence).

§Arguments

  • value - Optional value to convert

§Returns

The string representation, or empty string for None