pub fn column_type_from_field(field_value: &FieldValue) -> ColumnType {
    match field_value {
        FieldValue::I64(_) => ColumnType::I64,
        FieldValue::U64(_) => ColumnType::U64,
        FieldValue::F64(_) => ColumnType::F64,
        FieldValue::String(_) => ColumnType::String,
        FieldValue::Boolean(_) => ColumnType::Bool,
    }
}
/// Returns the `ColumnType` for the passed in line protocol `FieldValue` type
Returns the `ColumnType` for the passed in line protocol `FieldValue` type
Returns the ` ColumnType ` for the passed in line protocol ` FieldValue ` type
pub fn column_type_from_field(field_value: &FieldValue) -> ColumnType {
    match field_value {
        FieldValue::I64(_) => ColumnType::I64,
        FieldValue::U64(_) => ColumnType::U64,
        FieldValue::F64(_) => ColumnType::F64,
        FieldValue::String(_) => ColumnType::String,
        FieldValue::Boolean(_) => ColumnType::Bool,
    }
}
pub fn column_type_from_field ( field_value : & FieldValue ) -> ColumnType { match field_value { FieldValue :: I64 ( _ ) => ColumnType :: I64 , FieldValue :: U64 ( _ ) => ColumnType :: U64 , FieldValue :: F64 ( _ ) => ColumnType :: F64 , FieldValue :: String ( _ ) => ColumnType :: String , FieldValue :: Boolean ( _ ) => ColumnType :: Bool , } }
Returns the `ColumnType` for the passed in line protocol `FieldValue` type
Returns the ` ColumnType ` for the passed in line protocol ` FieldValue ` type
field_value
&FieldValue
field_value
&FieldValue