Documentation ¶
Index ¶
- type Menu
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Menu ¶
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 ¶
func (*Menu) GetAncestorUuid ¶
func (*Menu) ProtoMessage ¶
func (*Menu) ProtoMessage()
func (*Menu) Validate ¶
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 (*Menu) XXX_DiscardUnknown ¶
func (m *Menu) XXX_DiscardUnknown()
func (*Menu) XXX_Unmarshal ¶
type MenuValidationError ¶
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 (MenuValidationError) Cause ¶
func (e MenuValidationError) Cause() error
Cause function returns cause value.
func (MenuValidationError) Error ¶
func (e MenuValidationError) Error() string
Error satisfies the builtin error interface
func (MenuValidationError) ErrorName ¶
func (e MenuValidationError) ErrorName() string
ErrorName returns error name.
func (MenuValidationError) Field ¶
func (e MenuValidationError) Field() string
Field function returns field value.
func (MenuValidationError) Key ¶
func (e MenuValidationError) Key() bool
Key function returns key value.
func (MenuValidationError) Reason ¶
func (e MenuValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.