pub struct MarketPanel {
pub npc_id: String,
pub npc_label: String,
pub building_id: String,
pub building_label: String,
pub used_volume: f32,
pub max_volume: f32,
pub listings: Vec<MarketListingView>,
pub tax_bps: u32,
pub tax_flat_copper: u32,
pub list_vaults: Vec<MarketListVault>,
}Expand description
Market hall clerk panel — browse (zone-linked halls), list / reprice / delist,
buy confirm (plans/10-economy-and-markets.md §4, §10).
Fields§
§npc_id: String§npc_label: String§building_id: String§building_label: String§used_volume: f32Escrow volume used at this hall only (cap is per-hall, market_max_volume).
max_volume: f32§listings: Vec<MarketListingView>Listings at this hall plus any zone-linked halls (market_boundary_zone_ids
intersection) — the shared browse book (§4.2).
tax_bps: u32Crown sales tax at the tax zone covering this hall (§6).
tax_flat_copper: u32§list_vaults: Vec<MarketListVault>Zone-eligible town storage vaults the caller can list from (§4.3).
Trait Implementations§
Source§impl Clone for MarketPanel
impl Clone for MarketPanel
Source§fn clone(&self) -> MarketPanel
fn clone(&self) -> MarketPanel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketPanel
impl Debug for MarketPanel
Source§impl<'de> Deserialize<'de> for MarketPanel
impl<'de> Deserialize<'de> for MarketPanel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MarketPanel
impl PartialEq for MarketPanel
Source§impl Serialize for MarketPanel
impl Serialize for MarketPanel
impl StructuralPartialEq for MarketPanel
Auto Trait Implementations§
impl Freeze for MarketPanel
impl RefUnwindSafe for MarketPanel
impl Send for MarketPanel
impl Sync for MarketPanel
impl Unpin for MarketPanel
impl UnsafeUnpin for MarketPanel
impl UnwindSafe for MarketPanel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more