menu

package
v2.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Menu struct {
	Uuid         string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	AncestorUuid string `protobuf:"bytes,2,opt,name=ancestor_uuid,json=ancestorUuid,proto3" json:"ancestor_uuid,omitempty" bson:"ancestor_uuid"`
}
func (*Menu) Descriptor() ([]byte, []int)
func (m *Menu) GetAncestorUuid() string
func (m *Menu) GetUuid() string
func (*Menu) ProtoMessage()
func (m *Menu) Reset()
func (m *Menu) String() string
func (m *Menu) Validate() error

Validate checks the field values on Menu with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (m *Menu) XXX_DiscardUnknown()
func (m *Menu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Menu) XXX_Merge(src proto.Message)
func (m *Menu) XXX_Size() int
func (m *Menu) XXX_Unmarshal(b []byte) error
type MenuValidationError struct {
	// contains filtered or unexported fields
}

MenuValidationError is the validation error returned by Menu.Validate if the designated constraints aren't met.

func (e MenuValidationError) Cause() error

Cause function returns cause value.

func (e MenuValidationError) Error() string

Error satisfies the builtin error interface

func (e MenuValidationError) ErrorName() string

ErrorName returns error name.

func (e MenuValidationError) Field() string

Field function returns field value.

func (e MenuValidationError) Key() bool

Key function returns key value.

func (e MenuValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL