penumbra_sdk_proto/gen/
penumbra.core.num.v1.rs

1// This file is @generated by prost-build.
2/// The quantity of a particular Asset. Represented as a 128-bit unsigned integer,
3/// split over two fields, `lo` and `hi`, representing the low- and high-order bytes
4/// of the 128-bit value, respectively. Clients must assemble these bits in their
5/// implementation into a `uint128` or comparable data structure, in order to model
6/// the Amount accurately.
7#[derive(Clone, Copy, PartialEq, ::prost::Message)]
8pub struct Amount {
9    #[prost(uint64, tag = "1")]
10    pub lo: u64,
11    #[prost(uint64, tag = "2")]
12    pub hi: u64,
13}
14impl ::prost::Name for Amount {
15    const NAME: &'static str = "Amount";
16    const PACKAGE: &'static str = "penumbra.core.num.v1";
17    fn full_name() -> ::prost::alloc::string::String {
18        "penumbra.core.num.v1.Amount".into()
19    }
20    fn type_url() -> ::prost::alloc::string::String {
21        "/penumbra.core.num.v1.Amount".into()
22    }
23}