pub struct PropertyMarketCompView {
pub day: u64,
pub zone_id: String,
pub zone_label: Option<String>,
pub area_m2: f32,
pub price_copper: u64,
pub price_per_m2_copper: u64,
pub kind: String,
pub distance_m: f32,
}Expand description
A recorded property sale near the observer’s holdings.
Fields§
§day: u64§zone_id: String§zone_label: Option<String>§area_m2: f32§price_copper: u64§price_per_m2_copper: u64price_copper / area_m2 (0 when area is tiny).
kind: Stringcrown_purchase | crown_buyback | player_trade.
distance_m: f32Distance from the nearest plot you hold (meters).
Trait Implementations§
Source§impl Clone for PropertyMarketCompView
impl Clone for PropertyMarketCompView
Source§fn clone(&self) -> PropertyMarketCompView
fn clone(&self) -> PropertyMarketCompView
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 PropertyMarketCompView
impl Debug for PropertyMarketCompView
Source§impl<'de> Deserialize<'de> for PropertyMarketCompView
impl<'de> Deserialize<'de> for PropertyMarketCompView
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 PropertyMarketCompView
impl PartialEq for PropertyMarketCompView
Source§impl Serialize for PropertyMarketCompView
impl Serialize for PropertyMarketCompView
impl StructuralPartialEq for PropertyMarketCompView
Auto Trait Implementations§
impl Freeze for PropertyMarketCompView
impl RefUnwindSafe for PropertyMarketCompView
impl Send for PropertyMarketCompView
impl Sync for PropertyMarketCompView
impl Unpin for PropertyMarketCompView
impl UnsafeUnpin for PropertyMarketCompView
impl UnwindSafe for PropertyMarketCompView
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