pub struct PropertyAssetView {
pub plot_id: Uuid,
pub label: String,
pub zone_id: String,
pub zone_label: Option<String>,
pub area_m2: f32,
pub purchase_basis_copper: u64,
pub upkeep_copper_per_day: u64,
}Expand description
One deed currently held by the character (ledger asset line).
Fields§
§plot_id: Uuid§label: StringFriendly deed label (Deed — Zone (N m²)).
zone_id: String§zone_label: Option<String>§area_m2: f32§purchase_basis_copper: u64Book value (what you paid / last private sale price).
upkeep_copper_per_day: u64Trait Implementations§
Source§impl Clone for PropertyAssetView
impl Clone for PropertyAssetView
Source§fn clone(&self) -> PropertyAssetView
fn clone(&self) -> PropertyAssetView
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 PropertyAssetView
impl Debug for PropertyAssetView
Source§impl<'de> Deserialize<'de> for PropertyAssetView
impl<'de> Deserialize<'de> for PropertyAssetView
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 PropertyAssetView
impl PartialEq for PropertyAssetView
Source§impl Serialize for PropertyAssetView
impl Serialize for PropertyAssetView
impl StructuralPartialEq for PropertyAssetView
Auto Trait Implementations§
impl Freeze for PropertyAssetView
impl RefUnwindSafe for PropertyAssetView
impl Send for PropertyAssetView
impl Sync for PropertyAssetView
impl Unpin for PropertyAssetView
impl UnsafeUnpin for PropertyAssetView
impl UnwindSafe for PropertyAssetView
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