juno_rust_proto/prost/cosmos-sdk/
cosmos.base.v1beta1.rs

1/// Coin defines a token with a denomination and an amount.
2///
3/// NOTE: The amount field is an Int which implements the custom method
4/// signatures required by gogoproto.
5#[allow(clippy::derive_partial_eq_without_eq)]
6#[derive(Clone, PartialEq, ::prost::Message)]
7pub struct Coin {
8    #[prost(string, tag = "1")]
9    pub denom: ::prost::alloc::string::String,
10    #[prost(string, tag = "2")]
11    pub amount: ::prost::alloc::string::String,
12}
13/// DecCoin defines a token with a denomination and a decimal amount.
14///
15/// NOTE: The amount field is an Dec which implements the custom method
16/// signatures required by gogoproto.
17#[allow(clippy::derive_partial_eq_without_eq)]
18#[derive(Clone, PartialEq, ::prost::Message)]
19pub struct DecCoin {
20    #[prost(string, tag = "1")]
21    pub denom: ::prost::alloc::string::String,
22    #[prost(string, tag = "2")]
23    pub amount: ::prost::alloc::string::String,
24}
25/// IntProto defines a Protobuf wrapper around an Int object.
26#[allow(clippy::derive_partial_eq_without_eq)]
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct IntProto {
29    #[prost(string, tag = "1")]
30    pub int: ::prost::alloc::string::String,
31}
32/// DecProto defines a Protobuf wrapper around a Dec object.
33#[allow(clippy::derive_partial_eq_without_eq)]
34#[derive(Clone, PartialEq, ::prost::Message)]
35pub struct DecProto {
36    #[prost(string, tag = "1")]
37    pub dec: ::prost::alloc::string::String,
38}