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: record_capnp.rs
    path of file: ./repos/flowgger/src
    
    the code of the file until where you have to start completion: // Generated by the capnpc-rust plugin to the Cap'n Proto schema compiler.
// DO NOT EDIT.
// source: record.capnp

pub mod record {
    #[derive(Copy, Clone)]
    pub struct Owned;
    impl<'a> ::capnp::traits::Owned<'a> for Owned {
        type Reader = Reader<'a>;
        type Builder = Builder<'a>;
    }
    impl<'a> ::capnp::traits::OwnedStruct<'a> for Owned {
        type Reader = Reader<'a>;
        type 
    
            pub fn which(self) -> ::std::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
                match self.reader.get_data_field::<u16>(0) {
                    0 => ::std::result::Result::Ok(String(
                        ::capnp::traits::FromPointerReader::get_from_pointer(
                            &self.reader.get_pointer_field(1),
                            ::std::option::Option::None,
                        ),
                    )),
                    1 => ::std::result::Result::Ok(Bool(self.reader.get_bool_field(16))),
                    2 => ::std::result::Result::Ok(F64(self.reader.get_data_field::<f64>(1))),
                    3 => ::std::result::Result::Ok(I64(self.reader.get_data_field::<i64>(1))),
                    4 => ::std::result::Result::Ok(U64(self.reader.get_data_field::<u64>(1))),
                    5 => ::std::result::Result::Ok(Null(())),
                    x => ::std::result::Result::Err(::capnp::NotInSchema(x)),
                }
            }