Documentation ¶
Index ¶
- Variables
- type ExtConfig
- func (*ExtConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExtConfig) GetAmount() string
- func (x *ExtConfig) GetAsset() string
- func (x *ExtConfig) GetIssuer() *proto.Wallet
- func (*ExtConfig) ProtoMessage()
- func (x *ExtConfig) ProtoReflect() protoreflect.Message
- func (x *ExtConfig) Reset()
- func (x *ExtConfig) String() string
- func (m *ExtConfig) Validate() error
- func (m *ExtConfig) ValidateAll() error
- type ExtConfigMultiError
- type ExtConfigValidationError
Constants ¶
This section is empty.
Variables ¶
var File_ext_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExtConfig ¶
type ExtConfig struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Issuer *proto.Wallet `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // contains filtered or unexported fields }
func (*ExtConfig) Descriptor
deprecated
func (*ExtConfig) ProtoMessage ¶
func (*ExtConfig) ProtoMessage()
func (*ExtConfig) ProtoReflect ¶
func (x *ExtConfig) ProtoReflect() protoreflect.Message
func (*ExtConfig) Validate ¶
Validate checks the field values on ExtConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExtConfig) ValidateAll ¶
ValidateAll checks the field values on ExtConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtConfigMultiError, or nil if none found.
type ExtConfigMultiError ¶
type ExtConfigMultiError []error
ExtConfigMultiError is an error wrapping multiple validation errors returned by ExtConfig.ValidateAll() if the designated constraints aren't met.
func (ExtConfigMultiError) AllErrors ¶
func (m ExtConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtConfigMultiError) Error ¶
func (m ExtConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtConfigValidationError ¶
type ExtConfigValidationError struct {
// contains filtered or unexported fields
}
ExtConfigValidationError is the validation error returned by ExtConfig.Validate if the designated constraints aren't met.
func (ExtConfigValidationError) Cause ¶
func (e ExtConfigValidationError) Cause() error
Cause function returns cause value.
func (ExtConfigValidationError) Error ¶
func (e ExtConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ExtConfigValidationError) ErrorName ¶
func (e ExtConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ExtConfigValidationError) Field ¶
func (e ExtConfigValidationError) Field() string
Field function returns field value.
func (ExtConfigValidationError) Key ¶
func (e ExtConfigValidationError) Key() bool
Key function returns key value.
func (ExtConfigValidationError) Reason ¶
func (e ExtConfigValidationError) Reason() string
Reason function returns reason value.