pub struct AasProperty {
pub id_short: String,
pub value_type: AasDataType,
pub value: String,
pub unit: Option<String>,
pub semantic_id: Option<AasSemId>,
pub description: Option<String>,
}Expand description
An AAS Property — a single leaf-level value.
Fields§
§id_short: String§value_type: AasDataType§value: StringValue serialised as a string (AAS convention for all types).
unit: Option<String>Physical unit of the value, e.g. "kgCO2e", "kg", "V", "%".
semantic_id: Option<AasSemId>Semantic identifier per IDTA AAS Part 1 §5.3.11 Reference type.
description: Option<String>Trait Implementations§
Source§impl Clone for AasProperty
impl Clone for AasProperty
Source§fn clone(&self) -> AasProperty
fn clone(&self) -> AasProperty
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 AasProperty
impl Debug for AasProperty
Source§impl<'de> Deserialize<'de> for AasProperty
impl<'de> Deserialize<'de> for AasProperty
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 AasProperty
impl PartialEq for AasProperty
Source§impl Serialize for AasProperty
impl Serialize for AasProperty
impl StructuralPartialEq for AasProperty
Auto Trait Implementations§
impl Freeze for AasProperty
impl RefUnwindSafe for AasProperty
impl Send for AasProperty
impl Sync for AasProperty
impl Unpin for AasProperty
impl UnsafeUnpin for AasProperty
impl UnwindSafe for AasProperty
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