|
@@ -101,25 +101,25 @@ pub fn try_decode_cell_data(
|
|
let field_type: FieldTypeRevision = t_field_type.into();
|
|
let field_type: FieldTypeRevision = t_field_type.into();
|
|
let data = match t_field_type {
|
|
let data = match t_field_type {
|
|
FieldType::RichText => field_rev
|
|
FieldType::RichText => field_rev
|
|
- .get_type_option_entry::<RichTextTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<RichTextTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::Number => field_rev
|
|
FieldType::Number => field_rev
|
|
- .get_type_option_entry::<NumberTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<NumberTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::DateTime => field_rev
|
|
FieldType::DateTime => field_rev
|
|
- .get_type_option_entry::<DateTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<DateTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::SingleSelect => field_rev
|
|
FieldType::SingleSelect => field_rev
|
|
- .get_type_option_entry::<SingleSelectTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<SingleSelectTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::MultiSelect => field_rev
|
|
FieldType::MultiSelect => field_rev
|
|
- .get_type_option_entry::<MultiSelectTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<MultiSelectTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::Checkbox => field_rev
|
|
FieldType::Checkbox => field_rev
|
|
- .get_type_option_entry::<CheckboxTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<CheckboxTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
FieldType::URL => field_rev
|
|
FieldType::URL => field_rev
|
|
- .get_type_option_entry::<URLTypeOptionPB>(field_type)?
|
|
|
|
|
|
+ .get_type_option::<URLTypeOptionPB>(field_type)?
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
.decode_cell_data(cell_data.into(), s_field_type, field_rev),
|
|
};
|
|
};
|
|
Some(data)
|
|
Some(data)
|