Skip to main content

to_string_tracking_shared_with_config

Function to_string_tracking_shared_with_config 

Source
pub fn to_string_tracking_shared_with_config<T>(
    value: &T,
    config: &SerializerConfig,
) -> Result<String>
where T: ?Sized + Serialize,
Expand description

Serialize with automatic anchor/alias emission and a custom configuration.

See to_string_tracking_shared for behaviour.

ยงErrors

Returns an error if the type cannot be serialized to YAML.