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: logical_growable.rs
    path of file: ./repos/Daft/src/daft-core/src/array/growable
    
    the code of the file until where you have to start completion: use std::marker::PhantomData;

use common_error::DaftResult;

use crate::{
    datatypes::{
        logical::LogicalArray, DaftDataType, DaftLogicalType, DateType, Decimal128Type,
        DurationType, EmbeddingType, Field, FixedShapeImageType, FixedShapeTensorType, ImageType,
        MapType, TensorType, TimeType, TimestampType,
   
    
    fn build(&mut self) -> DaftResult<Series> {
        let physical_arr = self.physical_growable.build()?;
        let arr = LogicalArray::<L>::new(
            Field::new(self.name.clone(), self.dtype.clone()),
            physical_arr
                .downcast::<<<L as DaftLogicalType>::PhysicalType as DaftDataType>::ArrayType>()
                .unwrap()
                .clone(),
        );
        Ok(arr.into_series())
    }