pub struct SubmodelTemplate {
pub sector_key: &'static str,
pub semantic_id: &'static str,
pub version: &'static str,
pub is_placeholder: bool,
}Expand description
Metadata for a single AAS submodel template binding.
Fields§
§sector_key: &'static strCatalog sector key this template applies to, e.g. "battery".
semantic_id: &'static strSemantic ID (IDTA URN, Catena-X URN, ECLASS IRDI, or odal-node placeholder).
version: &'static strHuman-readable version string (from the source template / standard).
is_placeholder: booltrue when the semantic ID is a placeholder (urn:odal-node:…) waiting for
an official IDTA or other standard template. Gate these from claiming
conformance with the AAS Interoperability Specification.
Trait Implementations§
Source§impl Clone for SubmodelTemplate
impl Clone for SubmodelTemplate
Source§fn clone(&self) -> SubmodelTemplate
fn clone(&self) -> SubmodelTemplate
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 SubmodelTemplate
impl Debug for SubmodelTemplate
Source§impl PartialEq for SubmodelTemplate
impl PartialEq for SubmodelTemplate
impl StructuralPartialEq for SubmodelTemplate
Auto Trait Implementations§
impl Freeze for SubmodelTemplate
impl RefUnwindSafe for SubmodelTemplate
impl Send for SubmodelTemplate
impl Sync for SubmodelTemplate
impl Unpin for SubmodelTemplate
impl UnsafeUnpin for SubmodelTemplate
impl UnwindSafe for SubmodelTemplate
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