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