func (pe *PolicyEffect) MarshalText() ([]byte, error) {
	if *pe {
		return []byte("allow"), nil
	}
	return []byte("deny"), nil
}
// MarshalText implements the encoding.TextMarshaler interface, used for JSON
// marshaling.
MarshalText implements the encoding.TextMarshaler interface, used for JSON
marshaling.
// MarshalText implements the encoding . TextMarshaler interface used for JSON // marshaling .
func (pe *PolicyEffect) MarshalText() ([]byte, error) {
	if *pe {
		return []byte("allow"), nil
	}
	return []byte("deny"), nil
}
func ( pe * PolicyEffect ) MarshalText ( ) ( [ ] byte , error ) { if * pe { return [ ] byte ( " " ) , nil } return [ ] byte ( " " ) , nil }
MarshalText implements the encoding.TextMarshaler interface, used for JSON
marshaling.
MarshalText implements the encoding . TextMarshaler interface used for JSON marshaling .