pub struct QualityScoreBuilder { /* private fields */ }Expand description
Builder for constructing AppQualityScore.
Implementations§
Source§impl QualityScoreBuilder
impl QualityScoreBuilder
Sourcepub fn structural(self, complexity: f64, depth: f64, count: f64) -> Self
pub fn structural(self, complexity: f64, depth: f64, count: f64) -> Self
Set structural metrics.
Sourcepub fn performance(self, render_time: f64, memory: f64, bundle: f64) -> Self
pub fn performance(self, render_time: f64, memory: f64, bundle: f64) -> Self
Set performance metrics.
Sourcepub fn accessibility(self, wcag: f64, keyboard: f64, screen_reader: f64) -> Self
pub fn accessibility(self, wcag: f64, keyboard: f64, screen_reader: f64) -> Self
Set accessibility metrics.
Sourcepub fn data_quality(
self,
completeness: f64,
freshness: f64,
schema: f64,
) -> Self
pub fn data_quality( self, completeness: f64, freshness: f64, schema: f64, ) -> Self
Set data quality metrics.
Sourcepub fn documentation(self, manifest: f64, cards: f64) -> Self
pub fn documentation(self, manifest: f64, cards: f64) -> Self
Set documentation metrics.
Sourcepub fn consistency(self, theme: f64, naming: f64) -> Self
pub fn consistency(self, theme: f64, naming: f64) -> Self
Set consistency metrics.
Sourcepub fn build(self) -> AppQualityScore
pub fn build(self) -> AppQualityScore
Build the final quality score.
Trait Implementations§
Source§impl Clone for QualityScoreBuilder
impl Clone for QualityScoreBuilder
Source§fn clone(&self) -> QualityScoreBuilder
fn clone(&self) -> QualityScoreBuilder
Returns a duplicate of the value. Read more
1.0.0 · 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 QualityScoreBuilder
impl Debug for QualityScoreBuilder
Source§impl Default for QualityScoreBuilder
impl Default for QualityScoreBuilder
Source§fn default() -> QualityScoreBuilder
fn default() -> QualityScoreBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QualityScoreBuilder
impl RefUnwindSafe for QualityScoreBuilder
impl Send for QualityScoreBuilder
impl Sync for QualityScoreBuilder
impl Unpin for QualityScoreBuilder
impl UnwindSafe for QualityScoreBuilder
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