pub enum GoodsLocation {
Person,
TownStorage {
building_id: String,
},
}Expand description
Source or destination for market-hall goods movement
(plans/10-economy-and-markets.md §4.3/§4.4).
Variants§
Person
On-person inventory (root, non-nested).
TownStorage
A town storage vault at a building whose jurisdiction intersects the
listing hall’s market_boundary_zone_ids.
Trait Implementations§
Source§impl Clone for GoodsLocation
impl Clone for GoodsLocation
Source§fn clone(&self) -> GoodsLocation
fn clone(&self) -> GoodsLocation
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 GoodsLocation
impl Debug for GoodsLocation
Source§impl<'de> Deserialize<'de> for GoodsLocation
impl<'de> Deserialize<'de> for GoodsLocation
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 GoodsLocation
impl PartialEq for GoodsLocation
Source§impl Serialize for GoodsLocation
impl Serialize for GoodsLocation
impl StructuralPartialEq for GoodsLocation
Auto Trait Implementations§
impl Freeze for GoodsLocation
impl RefUnwindSafe for GoodsLocation
impl Send for GoodsLocation
impl Sync for GoodsLocation
impl Unpin for GoodsLocation
impl UnsafeUnpin for GoodsLocation
impl UnwindSafe for GoodsLocation
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