It's sometimes helpful to be able to do operations using sets of Headers, where the contents are irrelevant. It seems natural to extend the Collection::list() builder with another method that returns a Vec<Header> instead of Vec<OwnedDocument>.
Edit 2022-03-02: This can be added in a similar fashion as connection::List::count() and schema::List::count() (which may get renamed and moved into the connection module by the time this issue is handled, so make sure to find the type that is returned from SerializedCollection::list.)
It's sometimes helpful to be able to do operations using sets of
Header
s, where the contents are irrelevant. It seems natural to extend theCollection::list()
builder with another method that returns aVec<Header>
instead ofVec<OwnedDocument>
.Edit 2022-03-02: This can be added in a similar fashion as
connection::List::count()
andschema::List::count()
(which may get renamed and moved into theconnection
module by the time this issue is handled, so make sure to find the type that is returned fromSerializedCollection::list
.)