Trait paradox_typed_db::TypedColumn
source · pub trait TypedColumn: Debug + Copy + Clone + Eq {
// Required methods
fn to_static_str(&self) -> &'static str;
fn serialize_struct_field<S: SerializeStruct>(
&self,
s: &mut S,
value: Field<'_>
) -> Result<(), S::Error>;
}
Expand description
Required Methods§
sourcefn to_static_str(&self) -> &'static str
fn to_static_str(&self) -> &'static str
Return the original name of the column
sourcefn serialize_struct_field<S: SerializeStruct>(
&self,
s: &mut S,
value: Field<'_>
) -> Result<(), S::Error>
fn serialize_struct_field<S: SerializeStruct>( &self, s: &mut S, value: Field<'_> ) -> Result<(), S::Error>
Serialize a field to a struct