pub struct AasSubmodel {
pub id: String,
pub id_short: String,
pub model_type: String,
pub kind: String,
pub semantic_id: Option<AasSemId>,
pub submodel_elements: Vec<AasSubmodelElement>,
}Expand description
An AAS Submodel — one named grouping of product data.
Fields§
§id: String§id_short: String§model_type: StringIDTA AAS Part 2 §5.2.4: "Submodel" for all AAS submodels.
kind: StringIDTA AAS Part 2 §5.2.4: "Instance" for runtime data (not templates).
semantic_id: Option<AasSemId>§submodel_elements: Vec<AasSubmodelElement>Trait Implementations§
Source§impl Clone for AasSubmodel
impl Clone for AasSubmodel
Source§fn clone(&self) -> AasSubmodel
fn clone(&self) -> AasSubmodel
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 AasSubmodel
impl Debug for AasSubmodel
Source§impl<'de> Deserialize<'de> for AasSubmodel
impl<'de> Deserialize<'de> for AasSubmodel
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 AasSubmodel
impl PartialEq for AasSubmodel
Source§impl Serialize for AasSubmodel
impl Serialize for AasSubmodel
impl StructuralPartialEq for AasSubmodel
Auto Trait Implementations§
impl Freeze for AasSubmodel
impl RefUnwindSafe for AasSubmodel
impl Send for AasSubmodel
impl Sync for AasSubmodel
impl Unpin for AasSubmodel
impl UnsafeUnpin for AasSubmodel
impl UnwindSafe for AasSubmodel
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