pub fn matches_field_type(&self, field_value: &FieldValue) -> bool {
        match field_value {
            FieldValue::I64(_) => self.column_type == ColumnType::I64 as i16,
            FieldValue::U64(_) => self.column_type == ColumnType::U64 as i16,
            FieldValue::F64(_) => self.column_type == ColumnType::F64 as i16,
            FieldValue::String(_) => self.column_type == ColumnType::String as i16,
            FieldValue::Boolean(_) => self.column_type == ColumnType::Bool as i16,
        }
    }
/// returns true if the column type matches the line protocol field value type
returns true if the column type matches the line protocol field value type
returns true if the column type matches the line protocol field value type
pub fn matches_field_type(&self, field_value: &FieldValue) -> bool {
        match field_value {
            FieldValue::I64(_) => self.column_type == ColumnType::I64 as i16,
            FieldValue::U64(_) => self.column_type == ColumnType::U64 as i16,
            FieldValue::F64(_) => self.column_type == ColumnType::F64 as i16,
            FieldValue::String(_) => self.column_type == ColumnType::String as i16,
            FieldValue::Boolean(_) => self.column_type == ColumnType::Bool as i16,
        }
    }
pub fn matches_field_type ( & self , field_value : & FieldValue ) -> bool { match field_value { FieldValue :: I64 ( _ ) => self . column_type == ColumnType :: I64 as i16 , FieldValue :: U64 ( _ ) => self . column_type == ColumnType :: U64 as i16 , FieldValue :: F64 ( _ ) => self . column_type == ColumnType :: F64 as i16 , FieldValue :: String ( _ ) => self . column_type == ColumnType :: String as i16 , FieldValue :: Boolean ( _ ) => self . column_type == ColumnType :: Bool as i16 , } }
returns true if the column type matches the line protocol field value type
returns true if the column type matches the line protocol field value type
&self
field_value
&FieldValue
&self
field_value
&FieldValue