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: float.rs
    path of file: ./repos/neo4rs/lib/src/types
    
    the code of the file until where you have to start completion: use crate::{errors::Result, types::BoltWireFormat, version::Version};
use bytes::{Buf, BufMut, Bytes, BytesMut};
use std::mem;

pub const MARKER: u8 = 0xC1;

#[derive(Debug, PartialEq, Clone)]
pub struct BoltFloat {
    pub value: f64,
}

impl BoltFloat {
    pub fn new(
    
    fn should_deserialize_float() {
        let mut input = Bytes::from_static(&[0xC1, 0x3F, 0xF3, 0xAE, 0x14, 0x7A, 0xE1, 0x47, 0xAE]);
        let bolt_float: BoltFloat = BoltFloat::parse(Version::V4_1, &mut input).unwrap();
        assert_eq!(bolt_float.value, 1.23);

        let mut input = Bytes::from_static(&[0xC1, 0xBF, 0xF3, 0xAE, 0x14, 0x7A, 0xE1, 0x47, 0xAE]);
        let bolt_float: BoltFloat = BoltFloat::parse(Version::V4_1, &mut input).unwrap();
        assert_eq!(bolt_float.value, -1.23);
    }