pub trait SerializeFilter<T: ?Sized> {
// Required methods
fn skip(&self, field: Field<'_, T>) -> bool;
fn filtered_len(&self, len: Option<usize>) -> Option<usize>;
}Expand description
Trait implemented by types which can be used to filter the serializable fields of another type.