pub struct LightFixtureData {
pub id: u64,
pub global_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub object_type: Option<String>,
pub position: (f64, f64, f64),
pub storey: Option<String>,
pub storey_elevation: Option<f64>,
pub fixture_type: Option<LightFixtureTypeData>,
pub light_sources: Vec<LightSourceData>,
pub properties: FxHashMap<String, PropertySetData>,
}Expand description
Extracted light fixture data
Fields§
§id: u64Entity ID
global_id: Option<String>GlobalId (GUID)
name: Option<String>Name
description: Option<String>Description
object_type: Option<String>Object type (predefined or user-defined)
position: (f64, f64, f64)Position (X, Y, Z) in meters
storey: Option<String>Associated storey name
storey_elevation: Option<f64>Storey elevation
fixture_type: Option<LightFixtureTypeData>Light fixture type reference
light_sources: Vec<LightSourceData>Light sources
properties: FxHashMap<String, PropertySetData>Properties from property sets
Trait Implementations§
Source§impl Clone for LightFixtureData
impl Clone for LightFixtureData
Source§fn clone(&self) -> LightFixtureData
fn clone(&self) -> LightFixtureData
Returns a duplicate 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 Debug for LightFixtureData
impl Debug for LightFixtureData
Source§impl<'de> Deserialize<'de> for LightFixtureData
impl<'de> Deserialize<'de> for LightFixtureData
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
Auto Trait Implementations§
impl Freeze for LightFixtureData
impl RefUnwindSafe for LightFixtureData
impl Send for LightFixtureData
impl Sync for LightFixtureData
impl Unpin for LightFixtureData
impl UnsafeUnpin for LightFixtureData
impl UnwindSafe for LightFixtureData
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