func (onrs onArray) MarshalZerologArray(a *zerolog.Array) {
	for _, onr := range onrs {
		a.Object((*zerologON)(onr))
	}
}
MarshalZerologArray implements zerolog array marshalling.
package dispatchv1
import (
	"fmt"
	v0 "github.com/authzed/authzed-go/proto/authzed/api/v0"
	"github.com/rs/zerolog"
	"github.com/authzed/spicedb/pkg/tuple"
)
func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event) {
	e.Object("metadata", cr.Metadata)
	e.Str("request", tuple.String(&v0.RelationTuple{
		ObjectAndRelation: cr.ObjectAndRelation,
		User: &v0.User{
			UserOneof: &v0.User_Userset{
				Userset: cr.Subject,
			},
		},
	}))
}
func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event) {
	e.Object("metadata", cr.Metadata)
	e.Stringer("membership", cr.Membership)
}
func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event) {
	e.Object("metadata", er.Metadata)
	e.Str("expand", tuple.StringONR(er.ObjectAndRelation))
	e.Stringer("mode", er.ExpansionMode)
}
func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event) {
	e.Object("metadata", cr.Metadata)
}
func (lr *DispatchLookupRequest) MarshalZerologObject(e *zerolog.Event) {
	e.Object("metadata", lr.Metadata)
	e.Str("object", fmt.Sprintf("%s#%s", lr.ObjectRelation.Namespace, lr.ObjectRelation.Relation))
	e.Str("subject", tuple.StringONR(lr.Subject))
	e.Array("direct", onArray(lr.DirectStack))
	e.Array("ttu", onArray(lr.TtuStack))
	e.Uint32("limit", lr.Limit)
}
type onArray []*v0.RelationReference
type zerologON v0.RelationReference