pub struct PropertyZoneView {
pub id: String,
pub label: Option<String>,
pub rects: Vec<ZoneRectView>,
pub z_order: i32,
pub crown_price_copper: u64,
pub upkeep_copper_per_day: u64,
pub max_area_m2: Option<f32>,
pub owner_tax_discount_bps: u32,
}Expand description
Crown property zone (claimable land) — plan 40.
Fields§
§id: String§label: Option<String>Designer label when present; clients prefer this over id.
rects: Vec<ZoneRectView>§z_order: i32§crown_price_copper: u64§upkeep_copper_per_day: u64§max_area_m2: Option<f32>§owner_tax_discount_bps: u32Trait Implementations§
Source§impl Clone for PropertyZoneView
impl Clone for PropertyZoneView
Source§fn clone(&self) -> PropertyZoneView
fn clone(&self) -> PropertyZoneView
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 PropertyZoneView
impl Debug for PropertyZoneView
Source§impl<'de> Deserialize<'de> for PropertyZoneView
impl<'de> Deserialize<'de> for PropertyZoneView
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 PropertyZoneView
impl PartialEq for PropertyZoneView
Source§impl Serialize for PropertyZoneView
impl Serialize for PropertyZoneView
impl StructuralPartialEq for PropertyZoneView
Auto Trait Implementations§
impl Freeze for PropertyZoneView
impl RefUnwindSafe for PropertyZoneView
impl Send for PropertyZoneView
impl Sync for PropertyZoneView
impl Unpin for PropertyZoneView
impl UnsafeUnpin for PropertyZoneView
impl UnwindSafe for PropertyZoneView
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