Skip to main content

ResponsibilityBasis

Enum ResponsibilityBasis 

Source
#[non_exhaustive]
pub enum ResponsibilityBasis { MarketSurveillanceArt4, GeneralProductSafety, OtherUnionLaw { citation: String, }, }
Expand description

The legal basis under which an economic operator is the one responsible for a product.

§Why this is recorded rather than derived

ESPR Annex III, point (k) does not name one law. Confirmed against the verbatim OJ text, it asks for the operator “responsible for carrying out the tasks set out in Article 4 of Regulation (EU) 2019/1020 or Article 15 of Regulation (EU) 2023/988, or similar tasks pursuant to other Union law applicable to the product” — a disjunction over three bases, and which one applies is a fact about the product.

It is not derivable in general. Art. 4(5) of Regulation (EU) 2019/1020 limits that article to a closed list of instruments — verbatim from the consolidated text (02019R1020 — EN — 12.08.2026 — 003.001): Regulations (EU) No 305/2011, (EU) 2016/425, (EU) 2016/426, (EU) 2023/1542 and (EU) 2024/1252, and Directives 2000/14/EC, 2006/42/EC, 2009/48/EC, 2009/125/EC, 2011/65/EU, 2013/29/EU, 2013/53/EU, 2014/29/EU, 2014/30/EU, 2014/31/EU, 2014/32/EU, 2014/34/EU, 2014/35/EU, 2014/53/EU and 2014/68/EU.

The two emphasised Regulations put themselves on that list: batteries by Reg. (EU) 2023/1542 (amendment marker M1, 28 July 2023) and the Critical Raw Materials Act by Reg. (EU) 2024/1252 (marker M2, 3 May 2024).

An earlier version of this note omitted both and concluded that “construction (305/2011) and toys (2009/48/EC) fall inside it; the rest do not”. It was read off the original 2019/1020 rather than the consolidation, and it is false: of the product groups this crate models, construction, toys and battery fall inside, battery since 28 July 2023.

So the Art. 4 limb reaches more passports than that note implied. It is still not derivable in general, which is the reason the basis is stated rather than inferred — the correction narrows how wrong an inference would be, it does not make inference safe.

Stating the basis is cheap and checkable. Inferring it from the product group works for two groups and is a guess for every other.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

MarketSurveillanceArt4

Article 4 of Regulation (EU) 2019/1020 (market surveillance).

Applies only to products subject to the instruments listed in Art. 4(5) — see the type-level note. The tasks are those in Art. 4(3): verifying the declaration of conformity and technical documentation, answering reasoned requests from market surveillance authorities, reporting a product believed to present a risk, and cooperating on corrective action.

§

GeneralProductSafety

Regulation (EU) 2023/988 (general product safety).

Annex III(k) cites “Article 15”, and that is what the OJ prints — checked in both the original and the consolidated text. Article 15 of 2023/988 is Cooperation of economic operators with market surveillance authorities; the responsible-person provision is Article 16, Responsible person for products placed on the Union market.

The discrepancy changes nothing here, because Art. 16(1) imports the other basis wholesale: “Article 4(2) and (3) of that Regulation shall apply to products covered by this Regulation.” Both limbs therefore land on the same person performing the same tasks. This variant is named for the regulation rather than an article number so it does not have to choose between the citation as printed and the provision as intended.

§

OtherUnionLaw

“Similar tasks pursuant to other Union law applicable to the product” — Annex III(k)’s own catch-all.

Carries the citation because the whole point of the variant is that the law is not one of the two named, and a basis that cannot say which law it is says nothing at all.

Fields

§citation: String

The instrument and provision, as it would be cited — for example "Article 7 of Regulation (EU) 2017/745".

Implementations§

Source§

impl ResponsibilityBasis

Source

pub fn all() -> Vec<Self>

Every basis this build models, for exhaustive iteration.

Same contract as OperatorRole::ALL: the type is #[non_exhaustive], so a consumer publishing an API description cannot enumerate it otherwise. Self::OtherUnionLaw appears with an empty citation — it is a shape, not a usable value.

Trait Implementations§

Source§

impl Clone for ResponsibilityBasis

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResponsibilityBasis

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ResponsibilityBasis

Source§

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 Eq for ResponsibilityBasis

Source§

impl PartialEq for ResponsibilityBasis

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for ResponsibilityBasis

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ResponsibilityBasis

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.