monaco-grpc-sdk 0.6.3-develop.c8fc5f9

Typed Rust gRPC client SDK for the Monaco Exchange API — generated from Protocol Buffer definitions
Documentation
// @generated
// This file is @generated by prost-build.
// ============================================================================
// SHARED ORDERBOOK TYPES
// ============================================================================

#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrderbookData {
    #[prost(message, repeated, tag="1")]
    pub bids: ::prost::alloc::vec::Vec<PriceLevel>,
    #[prost(message, repeated, tag="2")]
    pub asks: ::prost::alloc::vec::Vec<PriceLevel>,
    #[prost(string, tag="3")]
    pub best_bid: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub best_ask: ::prost::alloc::string::String,
    #[prost(string, tag="5")]
    pub bid_volume: ::prost::alloc::string::String,
    #[prost(string, tag="6")]
    pub ask_volume: ::prost::alloc::string::String,
    #[prost(message, optional, tag="7")]
    pub price_change: ::core::option::Option<PriceChange>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PriceLevel {
    #[prost(string, tag="1")]
    pub price: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub quantity: ::prost::alloc::string::String,
    #[prost(uint32, tag="3")]
    pub order_count: u32,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PriceChange {
    #[prost(string, tag="1")]
    pub price_24h_ago: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub price_change_24h: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub price_change_percent_24h: ::prost::alloc::string::String,
}
// @@protoc_insertion_point(module)