fn make_node_record(node_operator_record: &NodeOperatorRecord) -> NodeRecord {
    let connection_endpoint = ConnectionEndpoint {
        ip_addr: "128.0.0.1".to_string(),
        port: 12345,
        protocol: Protocol::Http1 as i32,
    };
    NodeRecord {
        node_operator_id: node_operator_record.node_operator_principal_id.clone(),
        xnet: Some(connection_endpoint.clone()),
        http: Some(connection_endpoint),
        ..Default::default()
    }
}
/// Make a node record from the provided `NodeOperatorRecord`.
Make a node record from the provided `NodeOperatorRecord`.
Make a node record from the provided ` NodeOperatorRecord ` .
fn make_node_record(node_operator_record: &NodeOperatorRecord) -> NodeRecord {
    let connection_endpoint = ConnectionEndpoint {
        ip_addr: "128.0.0.1".to_string(),
        port: 12345,
        protocol: Protocol::Http1 as i32,
    };
    NodeRecord {
        node_operator_id: node_operator_record.node_operator_principal_id.clone(),
        xnet: Some(connection_endpoint.clone()),
        http: Some(connection_endpoint),
        ..Default::default()
    }
}
fn make_node_record ( node_operator_record : & NodeOperatorRecord ) -> NodeRecord { let connection_endpoint = ConnectionEndpoint { ip_addr : " " . to_string ( ) , port : 12345 , protocol : Protocol :: Http1 as i32 , } ; NodeRecord { node_operator_id : node_operator_record . node_operator_principal_id . clone ( ) , xnet : Some ( connection_endpoint . clone ( ) ) , http : Some ( connection_endpoint ) , .. Default :: default ( ) } }
Make a node record from the provided `NodeOperatorRecord`.
Make a node record from the provided ` NodeOperatorRecord ` .
node_operator_record
&NodeOperatorRecord
node_operator_record
&NodeOperatorRecord