pub fn kp_value_key_from_doc_result(&self, dr: &DocResult) -> String {
        let mut string = String::with_capacity(100);
        string.push(KEY_PREFIX_VALUE);
        string.push_str(&dr.seq.to_string());
        string.push('#');
        let mut i = 0;
        for segment in &self.keypath {
            string.push_str(segment);
            if segment == "$" {
                string.push_str(&dr.arraypath[i].to_string());
                i += 1;
            }
        }
        string
    }
/// Build a key to a value from a DocResult
Build a key to a value from a DocResult
Build a key to a value from a DocResult
pub fn kp_value_key_from_doc_result(&self, dr: &DocResult) -> String {
        let mut string = String::with_capacity(100);
        string.push(KEY_PREFIX_VALUE);
        string.push_str(&dr.seq.to_string());
        string.push('#');
        let mut i = 0;
        for segment in &self.keypath {
            string.push_str(segment);
            if segment == "$" {
                string.push_str(&dr.arraypath[i].to_string());
                i += 1;
            }
        }
        string
    }
pub fn kp_value_key_from_doc_result ( & self , dr : & DocResult ) -> String { let mut string = String :: with_capacity ( 100 ) ; string . push ( KEY_PREFIX_VALUE ) ; string . push_str ( & dr . seq . to_string ( ) ) ; string . push ( '#' ) ; let mut i = 0 ; for segment in & self . keypath { string . push_str ( segment ) ; if segment == " " { string . push_str ( & dr . arraypath [ i ] . to_string ( ) ) ; i += 1 ; } } string }
Build a key to a value from a DocResult
Build a key to a value from a DocResult
&self
dr
&DocResult
&self
dr
&DocResult