Trait serde_partial::filter::SerializeFilter
source · pub trait SerializeFilter<T: ?Sized> {
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.