func (r *Record) AddTarget(role Role, keys ...ecdsa.PublicKey) {
	AddFormedTarget(r, role, keys...)
}
AddTarget adds target subject with specified Role and key list.

Deprecated: use AddFormedTarget instead.
package eacl
import (
	"crypto/ecdsa"
	"fmt"
	"github.com/nspcc-dev/neofs-api-go/pkg"
	cid "github.com/nspcc-dev/neofs-api-go/pkg/container/id"
	"github.com/nspcc-dev/neofs-api-go/pkg/object"
	"github.com/nspcc-dev/neofs-api-go/pkg/owner"
	v2acl "github.com/nspcc-dev/neofs-api-go/v2/acl"
)
type Record struct {
	action    Action
	operation Operation
	filters   []*Filter
	targets   []*Target
}
func (r Record) Targets() []*Target {
	return r.targets
}
func (r *Record) SetTargets(targets ...*Target) {
	r.targets = targets
}
func (r Record) Filters() []*Filter {
	return r.filters
}
func (r Record) Operation() Operation {
	return r.operation
}
func (r *Record) SetOperation(operation Operation) {
	r.operation = operation
}
func (r Record) Action() Action {
	return r.action
}
func (r *Record) SetAction(action Action) {
	r.action = action
}