pub struct CompetitorComparison {
pub oxideshield: GuardMetrics,
pub competitors: HashMap<String, GuardMetrics>,
pub summary: ComparisonSummary,
}Expand description
Comparison table for competitor metrics
Fields§
§oxideshield: GuardMetricsOxideShield metrics
competitors: HashMap<String, GuardMetrics>Competitor reference metrics
summary: ComparisonSummaryWin/loss/tie summary
Implementations§
Source§impl CompetitorComparison
impl CompetitorComparison
Sourcepub fn compare(oxideshield: GuardMetrics) -> Self
pub fn compare(oxideshield: GuardMetrics) -> Self
Create a comparison between OxideShield and competitors
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Generate markdown comparison table
Trait Implementations§
Source§impl Clone for CompetitorComparison
impl Clone for CompetitorComparison
Source§fn clone(&self) -> CompetitorComparison
fn clone(&self) -> CompetitorComparison
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 CompetitorComparison
impl Debug for CompetitorComparison
Source§impl<'de> Deserialize<'de> for CompetitorComparison
impl<'de> Deserialize<'de> for CompetitorComparison
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompetitorComparison
impl RefUnwindSafe for CompetitorComparison
impl Send for CompetitorComparison
impl Sync for CompetitorComparison
impl Unpin for CompetitorComparison
impl UnwindSafe for CompetitorComparison
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