currencymarketpb

package
v0.0.0-...-87b6879 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Trade.ProtoReflect.Descriptor instead.

func (*Trade) GetAmountBuyMicros

func (x *Trade) GetAmountBuyMicros() int64

func (*Trade) GetAmountSellMicros

func (x *Trade) GetAmountSellMicros() int64

func (*Trade) GetCurrencyFrom

func (x *Trade) GetCurrencyFrom() string

func (*Trade) GetCurrencyTo

func (x *Trade) GetCurrencyTo() string

func (*Trade) GetOriginatingCountry

func (x *Trade) GetOriginatingCountry() string

func (*Trade) GetTimePlacedMs

func (x *Trade) GetTimePlacedMs() int64

func (*Trade) GetUserId

func (x *Trade) GetUserId() string

func (*Trade) ProtoMessage

func (*Trade) ProtoMessage()

func (*Trade) ProtoReflect

func (x *Trade) ProtoReflect() protoreflect.Message

func (*Trade) Reset

func (x *Trade) Reset()

func (*Trade) String

func (x *Trade) String() string

Jump to

Keyboard shortcuts

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