You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: operator.rs
    path of file: ./repos/zenoh-flow/zenoh-flow-descriptors/src/flattened/nodes
    
    the code of the file until where you have to start completion: //
// Copyright (c) 2021 - 2023 ZettaScale Technology
//
// This program and the acco
    
    fn test_serialize_no_configuration() {
        let yaml_str = r#"
id: operator-2
description: operator-2
library: file:///home/zenoh-flow/nodes/liboperator_0.so
inputs:
  - in-0
outputs:
  - out-0
"#;

        let flat_operator: FlattenedOperatorDescriptor =
            serde_yaml::from_str(yaml_str).expect("Failed to deserialise");
        assert!(serde_yaml::to_string(&flat_operator).is_ok());
    }