pub(crate) fn to_thrift(&self) -> Vec<SchemaElement> {
        let mut elements: Vec<SchemaElement> = Vec::new();
        to_thrift_helper(self, &mut elements, true);
        elements
    }
/// Method to convert to Thrift.
Method to convert to Thrift.
Method to convert to Thrift .
pub(crate) fn to_thrift(&self) -> Vec<SchemaElement> {
        let mut elements: Vec<SchemaElement> = Vec::new();
        to_thrift_helper(self, &mut elements, true);
        elements
    }
pub ( crate ) fn to_thrift ( & self ) -> Vec < SchemaElement > { let mut elements : Vec < SchemaElement > = Vec :: new ( ) ; to_thrift_helper ( self , & mut elements , true ) ; elements }
Method to convert to Thrift.
Method to convert to Thrift .
&self