pub struct RendererFormattedStrings {
Show 48 fields pub audit_group_expand_tooltip: Option<String>, pub calculator_link: Option<String>, pub crc_initial_navigation: Option<String>, pub crc_longest_duration_label: Option<String>, pub dropdown_copy_json: Option<String>, pub dropdown_dark_theme: Option<String>, pub dropdown_print_expanded: Option<String>, pub dropdown_print_summary: Option<String>, pub dropdown_save_gist: Option<String>, pub dropdown_save_html: Option<String>, pub dropdown_save_json: Option<String>, pub dropdown_viewer: Option<String>, pub error_label: Option<String>, pub error_missing_audit_info: Option<String>, pub footer_issue: Option<String>, pub lab_data_title: Option<String>, pub ls_performance_category_description: Option<String>, pub manual_audits_group_title: Option<String>, pub not_applicable_audits_group_title: Option<String>, pub opportunity_resource_column_label: Option<String>, pub opportunity_savings_column_label: Option<String>, pub passed_audits_group_title: Option<String>, pub runtime_desktop_emulation: Option<String>, pub runtime_mobile_emulation: Option<String>, pub runtime_no_emulation: Option<String>, pub runtime_settings_axe_version: Option<String>, pub runtime_settings_benchmark: Option<String>, pub runtime_settings_cpu_throttling: Option<String>, pub runtime_settings_channel: Option<String>, pub runtime_settings_device: Option<String>, pub runtime_settings_fetch_time: Option<String>, pub runtime_settings_network_throttling: Option<String>, pub runtime_settings_title: Option<String>, pub runtime_settings_ua: Option<String>, pub runtime_settings_ua_network: Option<String>, pub runtime_settings_url: Option<String>, pub runtime_unknown: Option<String>, pub scorescale_label: Option<String>, pub show_relevant_audits: Option<String>, pub snippet_collapse_button_label: Option<String>, pub snippet_expand_button_label: Option<String>, pub third_party_resources_label: Option<String>, pub throttling_provided: Option<String>, pub toplevel_warnings_message: Option<String>, pub variance_disclaimer: Option<String>, pub view_treemap_label: Option<String>, pub warning_audits_group_title: Option<String>, pub warning_header: Option<String>,
}
Expand description

Message holding the formatted strings used in the renderer.

This type is not used in any activity, and only used as part of another schema.

Fields§

§audit_group_expand_tooltip: Option<String>

The tooltip text on an expandable chevron icon.

§calculator_link: Option<String>

Text link pointing to the Lighthouse scoring calculator. This link immediately follows a sentence stating the performance score is calculated from the perf metrics.

§crc_initial_navigation: Option<String>

The label for the initial request in a critical request chain.

§crc_longest_duration_label: Option<String>

The label for values shown in the summary of critical request chains.

§dropdown_copy_json: Option<String>

Option in a dropdown menu that copies the Lighthouse JSON object to the system clipboard.

§dropdown_dark_theme: Option<String>

Option in a dropdown menu that toggles the themeing of the report between Light(default) and Dark themes.

§dropdown_print_expanded: Option<String>

Option in a dropdown menu that opens a full Lighthouse report in a print dialog.

§dropdown_print_summary: Option<String>

Option in a dropdown menu that opens a small, summary report in a print dialog.

§dropdown_save_gist: Option<String>

Option in a dropdown menu that saves the current report as a new GitHub Gist.

§dropdown_save_html: Option<String>

Option in a dropdown menu that saves the Lighthouse report HTML locally to the system as a ‘.html’ file.

§dropdown_save_json: Option<String>

Option in a dropdown menu that saves the Lighthouse JSON object to the local system as a ‘.json’ file.

§dropdown_viewer: Option<String>

Option in a dropdown menu that opens the current report in the Lighthouse Viewer Application.

§error_label: Option<String>

The label shown next to an audit or metric that has had an error.

§error_missing_audit_info: Option<String>

The error string shown next to an erroring audit.

§footer_issue: Option<String>

Label for button to create an issue against the Lighthouse GitHub project.

§lab_data_title: Option<String>

The title of the lab data performance category.

§ls_performance_category_description: Option<String>

The disclaimer shown under performance explaining that the network can vary.

§manual_audits_group_title: Option<String>

The heading shown above a list of audits that were not computerd in the run.

§not_applicable_audits_group_title: Option<String>

The heading shown above a list of audits that do not apply to a page.

§opportunity_resource_column_label: Option<String>

The heading for the estimated page load savings opportunity of an audit.

§opportunity_savings_column_label: Option<String>

The heading for the estimated page load savings of opportunity audits.

§passed_audits_group_title: Option<String>

The heading that is shown above a list of audits that are passing.

§runtime_desktop_emulation: Option<String>

Descriptive explanation for emulation setting when emulating a generic desktop form factor, as opposed to a mobile-device like form factor.

§runtime_mobile_emulation: Option<String>

Descriptive explanation for emulation setting when emulating a Nexus 5X mobile device.

§runtime_no_emulation: Option<String>

Descriptive explanation for emulation setting when no device emulation is set.

§runtime_settings_axe_version: Option<String>

Label for a row in a table that shows the version of the Axe library used

§runtime_settings_benchmark: Option<String>

Label for a row in a table that shows the estimated CPU power of the machine running Lighthouse. Example row values: 532, 1492, 783.

§runtime_settings_cpu_throttling: Option<String>

Label for a row in a table that describes the CPU throttling conditions that were used during a Lighthouse run, if any.

§runtime_settings_channel: Option<String>

Label for a row in a table that shows in what tool Lighthouse is being run (e.g. The lighthouse CLI, Chrome DevTools, Lightrider, WebPageTest, etc).

§runtime_settings_device: Option<String>

Label for a row in a table that describes the kind of device that was emulated for the Lighthouse run. Example values for row elements: ‘No Emulation’, ‘Emulated Desktop’, etc.

§runtime_settings_fetch_time: Option<String>

Label for a row in a table that shows the time at which a Lighthouse run was conducted; formatted as a timestamp, e.g. Jan 1, 1970 12:00 AM UTC.

§runtime_settings_network_throttling: Option<String>

Label for a row in a table that describes the network throttling conditions that were used during a Lighthouse run, if any.

§runtime_settings_title: Option<String>

Title of the Runtime settings table in a Lighthouse report. Runtime settings are the environment configurations that a specific report used at auditing time.

§runtime_settings_ua: Option<String>

Label for a row in a table that shows the User Agent that was detected on the Host machine that ran Lighthouse.

§runtime_settings_ua_network: Option<String>

Label for a row in a table that shows the User Agent that was used to send out all network requests during the Lighthouse run.

§runtime_settings_url: Option<String>

Label for a row in a table that shows the URL that was audited during a Lighthouse run.

§runtime_unknown: Option<String>

Descriptive explanation for a runtime setting that is set to an unknown value.

§scorescale_label: Option<String>

The label that explains the score gauges scale (0-49, 50-89, 90-100).

§show_relevant_audits: Option<String>

Label preceding a radio control for filtering the list of audits. The radio choices are various performance metrics (FCP, LCP, TBT), and if chosen, the audits in the report are hidden if they are not relevant to the selected metric.

§snippet_collapse_button_label: Option<String>

The label for the button to show only a few lines of a snippet

§snippet_expand_button_label: Option<String>

The label for the button to show all lines of a snippet

§third_party_resources_label: Option<String>

This label is for a filter checkbox above a table of items

§throttling_provided: Option<String>

Descriptive explanation for environment throttling that was provided by the runtime environment instead of provided by Lighthouse throttling.

§toplevel_warnings_message: Option<String>

The label shown preceding important warnings that may have invalidated an entire report.

§variance_disclaimer: Option<String>

The disclaimer shown below a performance metric value.

§view_treemap_label: Option<String>

Label for a button that opens the Treemap App

§warning_audits_group_title: Option<String>

The heading that is shown above a list of audits that have warnings

§warning_header: Option<String>

The label shown above a bulleted list of warnings.

Trait Implementations§

source§

impl Clone for RendererFormattedStrings

source§

fn clone(&self) -> RendererFormattedStrings

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for RendererFormattedStrings

source§

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

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

impl Default for RendererFormattedStrings

source§

fn default() -> RendererFormattedStrings

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for RendererFormattedStrings

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 Serialize for RendererFormattedStrings

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 Part for RendererFormattedStrings

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

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> ToOwned for T
where T: Clone,

§

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>,

§

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>,

§

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.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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