github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/caveats/types/custom.go (about)

     1  package types
     2  
     3  // CustomType is the interface for custom-defined types.
     4  type CustomType interface {
     5  	// SerializedString returns the serialized string form of the data within
     6  	// this instance of the type.
     7  	SerializedString() string
     8  }