#[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
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.
Implementations§
Source§impl ResponsibilityBasis
impl ResponsibilityBasis
Sourcepub fn all() -> Vec<Self>
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
impl Clone for ResponsibilityBasis
Source§impl Debug for ResponsibilityBasis
impl Debug for ResponsibilityBasis
Source§impl<'de> Deserialize<'de> for ResponsibilityBasis
impl<'de> Deserialize<'de> for ResponsibilityBasis
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 ResponsibilityBasis
Source§impl PartialEq for ResponsibilityBasis
impl PartialEq for ResponsibilityBasis
Source§impl Serialize for ResponsibilityBasis
impl Serialize for ResponsibilityBasis
impl StructuralPartialEq for ResponsibilityBasis
Auto Trait Implementations§
impl Freeze for ResponsibilityBasis
impl RefUnwindSafe for ResponsibilityBasis
impl Send for ResponsibilityBasis
impl Sync for ResponsibilityBasis
impl Unpin for ResponsibilityBasis
impl UnsafeUnpin for ResponsibilityBasis
impl UnwindSafe for ResponsibilityBasis
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.