github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/scheme/options.go (about) 1 package scheme 2 3 import "github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Scheme" 4 5 type permissionsDesc struct { 6 clear bool 7 actions []*Ydb_Scheme.PermissionsAction 8 } 9 10 func (p *permissionsDesc) SetClear(clear bool) { 11 p.clear = clear 12 } 13 14 func (p *permissionsDesc) AppendAction(action *Ydb_Scheme.PermissionsAction) { 15 p.actions = append(p.actions, action) 16 }