func (c *CreateCollectionOptions) SetCapped(capped bool) *CreateCollectionOptions {
	c.Capped = &capped
	return c
}
SetCapped sets the value for the Capped field.
package options
type DefaultIndexOptions struct {
	StorageEngine interface{}
}
func DefaultIndex() *DefaultIndexOptions {
	return &DefaultIndexOptions{}
}
func (d *DefaultIndexOptions) SetStorageEngine(storageEngine interface{}) *DefaultIndexOptions {
	d.StorageEngine = storageEngine
	return d
}
type CreateCollectionOptions struct {
	Capped *bool
	Collation *Collation
	DefaultIndexOptions *DefaultIndexOptions
	MaxDocuments *int64
	SizeInBytes *int64
	StorageEngine interface{}
	ValidationAction *string
	ValidationLevel *string
	Validator interface{}
}
func CreateCollection() *CreateCollectionOptions {
	return &CreateCollectionOptions{}
}