Skip to main content

format_object_key

Function format_object_key 

Source
pub fn format_object_key(key: &ObjectKey) -> String
Expand description

The canonical key encoding of an object: the class name in full, the keys labelled in ascending order of name with no space, a string quoted with " doubled, numbers, dates and instants in their lexical forms, a class-typed key its own encoding unquoted. parse_object_key(&format_object_key(k)) == Ok(k) for every key format_object_key is given, and format_object_key(&parse_object_key(s)?) == s for every s that parses.