Skip to main content

RepairabilityInputs

Struct RepairabilityInputs 

Source
pub struct RepairabilityInputs {
    pub disassembly: u8,
    pub spare_parts: u8,
    pub repair_info: u8,
    pub diagnostic_tools: u8,
    pub software_updatability: u8,
    pub customer_support: u8,
}
Expand description

Six-parameter repairability inputs for one product.

Each parameter uses a three-level ordinal scale (in the style of EN 45554’s per-criterion scoring, but not a faithful implementation of that standard): 0 = criterion not met, 1 = criterion partially met, 2 = criterion fully met. Values outside [0, 2] are rejected at calculation time.

Fields§

§disassembly: u8

Ease of product disassembly (fastener types, tools required, destructive entry). 0 = non-destructive entry not possible; 1 = possible with non-standard tools; 2 = easy with common tools, no irreversible steps.

§spare_parts: u8

Availability of spare parts through OEM and independent aftermarket channels. 0 = not available; 1 = available through IAM only or limited SKUs; 2 = full OEM + IAM availability for the supported lifetime.

§repair_info: u8

Availability of repair and maintenance documentation for professional repairers. 0 = none; 1 = limited/partial; 2 = full service manual + schematics publicly available.

§diagnostic_tools: u8

Availability of software diagnostic tools and processes for fault isolation. 0 = none; 1 = basic fault codes only; 2 = full diagnostic suite available to repairers.

§software_updatability: u8

Software and firmware updatability for the duration of the support period. 0 = no updates provided; 1 = security patches only; 2 = full OS/firmware + long-term commitment.

§customer_support: u8

Customer-related aspects: warranty terms, authorised repair network, support channels. 0 = poor (< 1 year warranty, no repair network); 1 = standard; 2 = extended warranty + wide repair network.

Trait Implementations§

Source§

impl Clone for RepairabilityInputs

Source§

fn clone(&self) -> RepairabilityInputs

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 RepairabilityInputs

Source§

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

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

impl<'de> Deserialize<'de> for RepairabilityInputs

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 PartialEq for RepairabilityInputs

Source§

fn eq(&self, other: &RepairabilityInputs) -> 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 RepairabilityInputs

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 RepairabilityInputs

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<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<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> Same for T

Source§

type Output = T

Should always be Self
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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.