Struct lu_formats::files::luz::PropertyData
source · pub struct PropertyData<'a> {Show 13 fields
pub property_path_type: PropertyPathType,
pub price: u32,
pub time: u32,
pub associated_zone: u64,
pub name: Option<U1Wstr<'a>>,
pub description: Option<U4Wstr<'a>>,
pub property_type: Option<PropertyType>,
pub clone_limit: Option<u32>,
pub reputation_multiplier: Option<f32>,
pub period_type: Option<u32>,
pub achievement_required: Option<u32>,
pub zone_position: Option<Vector3>,
pub max_build_height: Option<f32>,
}
Expand description
Struct property_data
Parser: parse_property_data
Maybe parents
Depends on
_parent: {
"version": ObligationTree {
local: false,
inner: {},
},
}
Fields§
§property_path_type: PropertyPathType
Enum: property_path_type
price: u32
§time: u32
§associated_zone: u64
§name: Option<U1Wstr<'a>>
If: _parent.version >= 5
description: Option<U4Wstr<'a>>
If: _parent.version >= 5
property_type: Option<PropertyType>
If: _parent.version >= 6
Enum: property_type
clone_limit: Option<u32>
If: _parent.version >= 7
reputation_multiplier: Option<f32>
If: _parent.version >= 7
period_type: Option<u32>
If: _parent.version >= 7
achievement_required: Option<u32>
If: _parent.version >= 8
zone_position: Option<Vector3>
If: _parent.version >= 8
max_build_height: Option<f32>
If: _parent.version >= 8
Trait Implementations§
source§impl<'a> Clone for PropertyData<'a>
impl<'a> Clone for PropertyData<'a>
source§fn clone(&self) -> PropertyData<'a>
fn clone(&self) -> PropertyData<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for PropertyData<'a>
impl<'a> Debug for PropertyData<'a>
source§impl<'de, 'a> Deserialize<'de> for PropertyData<'a>
impl<'de, 'a> Deserialize<'de> for PropertyData<'a>
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<'a> PartialEq<PropertyData<'a>> for PropertyData<'a>
impl<'a> PartialEq<PropertyData<'a>> for PropertyData<'a>
source§fn eq(&self, other: &PropertyData<'a>) -> bool
fn eq(&self, other: &PropertyData<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for PropertyData<'a>
impl<'a> Serialize for PropertyData<'a>
impl<'a> IPathData for PropertyData<'a>
impl<'a> StructuralPartialEq for PropertyData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PropertyData<'a>
impl<'a> Send for PropertyData<'a>
impl<'a> Sync for PropertyData<'a>
impl<'a> Unpin for PropertyData<'a>
impl<'a> UnwindSafe for PropertyData<'a>
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