#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum AuctionTypeProto {
UnknownAuctionType = 0,
SinglePrice = 1,
}
impl AuctionTypeProto {
pub fn as_str_name(&self) -> &'static str {
match self {
AuctionTypeProto::UnknownAuctionType => "UNKNOWN_AUCTION_TYPE",
AuctionTypeProto::SinglePrice => "SINGLE_PRICE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNKNOWN_AUCTION_TYPE" => Some(Self::UnknownAuctionType),
"SINGLE_PRICE" => Some(Self::SinglePrice),
_ => None,
}
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IssuanceProto {
#[prost(string, tag = "1")]
pub object_class: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub version: ::prost::alloc::string::String,
#[prost(message, optional, tag = "6")]
pub as_of: ::core::option::Option<super::super::util::LocalTimestampProto>,
#[prost(message, optional, tag = "8")]
pub valid_from: ::core::option::Option<super::super::util::LocalTimestampProto>,
#[prost(message, optional, tag = "9")]
pub valid_to: ::core::option::Option<super::super::util::LocalTimestampProto>,
#[prost(message, optional, tag = "20")]
pub auction_announcement_date: ::core::option::Option<
super::super::util::LocalDateProto,
>,
#[prost(message, optional, tag = "21")]
pub auction_issue_date: ::core::option::Option<super::super::util::LocalDateProto>,
#[prost(message, optional, tag = "22")]
pub post_auction_outstanding_quantity: ::core::option::Option<
super::super::util::DecimalValueProto,
>,
#[prost(message, optional, tag = "23")]
pub auction_offering_amount: ::core::option::Option<
super::super::util::DecimalValueProto,
>,
#[prost(enumeration = "AuctionTypeProto", tag = "24")]
pub auction_type: i32,
#[prost(message, optional, tag = "25")]
pub price_for_single_price_auction: ::core::option::Option<
super::super::util::DecimalValueProto,
>,
#[prost(message, optional, tag = "26")]
pub total_accepted: ::core::option::Option<super::super::util::DecimalValueProto>,
#[prost(message, optional, tag = "27")]
pub mature_security_amount: ::core::option::Option<
super::super::util::DecimalValueProto,
>,
}