pub fn file_line_of_remove<Key>(key: &Key, integrity: &mut Option<Integrity>)
    -> Result<String, serde_json::Error>
where
    Key: Serialize
{
    let key_json = serde_json::to_string(key)?;
    let mut line = "rem ".to_string() + &key_json;
    post_process_text_file_line(&mut line, integrity);
    Ok(line)
}
/// Make line with remove operation for write to file.
Make line with remove operation for write to file.
Make line with remove operation for write to file .
pub fn file_line_of_remove<Key>(key: &Key, integrity: &mut Option<Integrity>)
    -> Result<String, serde_json::Error>
where
    Key: Serialize
{
    let key_json = serde_json::to_string(key)?;
    let mut line = "rem ".to_string() + &key_json;
    post_process_text_file_line(&mut line, integrity);
    Ok(line)
}
pub fn file_line_of_remove < Key > ( key : & Key , integrity : & mut Option < Integrity > ) -> Result < String , serde_json :: Error > where Key : Serialize { let key_json = serde_json :: to_string ( key ) ? ; let mut line = " " . to_string ( ) + & key_json ; post_process_text_file_line ( & mut line , integrity ) ; Ok ( line ) }
Make line with remove operation for write to file.
Make line with remove operation for write to file .
key
&Key
integrity
&mut Option<Integrity>
key
&Key
integrity
&mut Option<Integrity>