pub struct AasShell {
pub id: String,
pub id_short: String,
pub model_type: String,
pub kind: String,
pub asset_information: AssetInformation,
pub submodels: Vec<AasSubmodelRef>,
}Expand description
AAS Shell — the top-level container for a product’s digital twin.
Holds the asset identification and references to submodels. Submodels are
served alongside the shell as Vec<AasSubmodel> from build_aas_from_passport
and would be exposed from separate API endpoints in a running AAS server
(/shells/{aasId} vs. /submodels/{submodelId}).
Fields§
§id: String§id_short: String§model_type: StringIDTA AAS Part 2 §5.2.4: always "AssetAdministrationShell".
kind: StringIDTA AAS Part 2 §5.2.4: "Instance" for runtime data (not templates).
asset_information: AssetInformation§submodels: Vec<AasSubmodelRef>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AasShell
impl<'de> Deserialize<'de> for AasShell
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
impl StructuralPartialEq for AasShell
Auto Trait Implementations§
impl Freeze for AasShell
impl RefUnwindSafe for AasShell
impl Send for AasShell
impl Sync for AasShell
impl Unpin for AasShell
impl UnsafeUnpin for AasShell
impl UnwindSafe for AasShell
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