can_cast_field

Function can_cast_field 

Source
pub(crate) fn can_cast_field(
    file_field: &Field,
    table_field: &Field,
) -> Result<bool>
Expand description

Checks if a file field can be cast to a table field

Returns Ok(true) if casting is possible, or an error explaining why casting is not possible