Documentation ¶
Index ¶
- Variables
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)deprecated
- func (x *Trade) GetAmountBuyMicros() int64
- func (x *Trade) GetAmountSellMicros() int64
- func (x *Trade) GetCurrencyFrom() string
- func (x *Trade) GetCurrencyTo() string
- func (x *Trade) GetOriginatingCountry() string
- func (x *Trade) GetTimePlacedMs() int64
- func (x *Trade) GetUserId() string
- func (*Trade) ProtoMessage()
- func (x *Trade) ProtoReflect() protoreflect.Message
- func (x *Trade) Reset()
- func (x *Trade) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_currencymarket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Trade ¶
type Trade struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CurrencyFrom string `protobuf:"bytes,2,opt,name=currency_from,json=currencyFrom,proto3" json:"currency_from,omitempty"` CurrencyTo string `protobuf:"bytes,3,opt,name=currency_to,json=currencyTo,proto3" json:"currency_to,omitempty"` AmountSellMicros int64 `protobuf:"varint,4,opt,name=amount_sell_micros,json=amountSellMicros,proto3" json:"amount_sell_micros,omitempty"` AmountBuyMicros int64 `protobuf:"varint,5,opt,name=amount_buy_micros,json=amountBuyMicros,proto3" json:"amount_buy_micros,omitempty"` TimePlacedMs int64 `protobuf:"varint,6,opt,name=time_placed_ms,json=timePlacedMs,proto3" json:"time_placed_ms,omitempty"` OriginatingCountry string `protobuf:"bytes,7,opt,name=originating_country,json=originatingCountry,proto3" json:"originating_country,omitempty"` // contains filtered or unexported fields }
func (*Trade) Descriptor
deprecated
func (*Trade) GetAmountBuyMicros ¶
func (*Trade) GetAmountSellMicros ¶
func (*Trade) GetCurrencyFrom ¶
func (*Trade) GetCurrencyTo ¶
func (*Trade) GetOriginatingCountry ¶
func (*Trade) GetTimePlacedMs ¶
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) ProtoReflect ¶
func (x *Trade) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.