#[non_exhaustive]pub enum RecordedBasis {
Catalog,
Operator,
}Expand description
Where a recorded instrument came from.
Not a confidence ranking — both values are equally authoritative on a passport. What they distinguish is who asserted it, which matters when a record is audited years later.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Catalog
Resolved from the instrument catalog at issuance: an act we hold a manifest for, reaching this product group through a recorded binding.
Operator
Asserted by the economic operator placing the product on the market.
Not a fallback. The catalog cannot be exhaustive: the Commission’s own preparatory analysis says horizontal ecodesign requirements cover sets of products never shortlisted as product groups, so an act may apply to a product while reaching no product group we model. An operator who knows an act applies must be able to say so, and a model that only accepted catalog-derived entries would force them to leave it out.
Trait Implementations§
Source§impl Clone for RecordedBasis
impl Clone for RecordedBasis
impl Copy for RecordedBasis
Source§impl Debug for RecordedBasis
impl Debug for RecordedBasis
Source§impl<'de> Deserialize<'de> for RecordedBasis
impl<'de> Deserialize<'de> for RecordedBasis
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>,
impl Eq for RecordedBasis
Source§impl PartialEq for RecordedBasis
impl PartialEq for RecordedBasis
Source§impl Serialize for RecordedBasis
impl Serialize for RecordedBasis
impl StructuralPartialEq for RecordedBasis
Auto Trait Implementations§
impl Freeze for RecordedBasis
impl RefUnwindSafe for RecordedBasis
impl Send for RecordedBasis
impl Sync for RecordedBasis
impl Unpin for RecordedBasis
impl UnsafeUnpin for RecordedBasis
impl UnwindSafe for RecordedBasis
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.