pub struct RegisteredRepresentation {
pub representation_id: String,
pub builtin_key: String,
pub modality: String,
pub mvp: Option<MvpStatus>,
pub representation: RepresentationSpec,
}Expand description
One frozen, published entry of the built-in representation registry.
Fields§
§representation_id: StringStable representation-ID string (e.g. signal_1d) — the value that
ControllerManifest.data_requirements ports reference by string.
builtin_key: StringBuiltinDataModel catalogue key (e.g. nirs.signal_1d).
modality: StringGeneric modality label (e.g. nirs, image, target).
mvp: Option<MvpStatus>Optional spectra+image MVP annotation; None for post-MVP IDs.
representation: RepresentationSpecThe complete frozen representation spec (axes, rank, dtype, container).
Trait Implementations§
Source§impl Clone for RegisteredRepresentation
impl Clone for RegisteredRepresentation
Source§fn clone(&self) -> RegisteredRepresentation
fn clone(&self) -> RegisteredRepresentation
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 RegisteredRepresentation
impl Debug for RegisteredRepresentation
Source§impl<'de> Deserialize<'de> for RegisteredRepresentation
impl<'de> Deserialize<'de> for RegisteredRepresentation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegisteredRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegisteredRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RegisteredRepresentation
impl PartialEq for RegisteredRepresentation
Source§fn eq(&self, other: &RegisteredRepresentation) -> bool
fn eq(&self, other: &RegisteredRepresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegisteredRepresentation
impl Serialize for RegisteredRepresentation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RegisteredRepresentation
Auto Trait Implementations§
impl Freeze for RegisteredRepresentation
impl RefUnwindSafe for RegisteredRepresentation
impl Send for RegisteredRepresentation
impl Sync for RegisteredRepresentation
impl Unpin for RegisteredRepresentation
impl UnsafeUnpin for RegisteredRepresentation
impl UnwindSafe for RegisteredRepresentation
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