pub struct StrategyExplanation {Show 20 fields
pub source: StrategySource,
pub strategy_mode: String,
pub render_strategy: String,
pub client_origin_permission: Option<String>,
pub hydration_strategy: Option<ExplainedHydrationStrategy>,
pub declared_client_modules: Vec<String>,
pub client_modules: Vec<String>,
pub unused_client_modules: Vec<String>,
pub component_fragment_imports: Vec<String>,
pub runtime_features: Vec<String>,
pub shared_state_dependencies: Vec<StrategySharedStateDependency>,
pub server_surfaces: Vec<ExplainedServerSurface>,
pub crossings: Vec<ExplainedClientCrossing>,
pub dead_primitives: Vec<ExplainedDeadPrimitive>,
pub summary: String,
pub roots: Vec<ExplainedRoot>,
pub emitted: ExplainedEmission,
pub next_actions: Vec<String>,
pub sidecar_path: String,
pub staleness: Option<String>,
}Fields§
§source: StrategySource§strategy_mode: String§render_strategy: String§client_origin_permission: Option<String>Whether this component may originate browser behavior. Absent only for legacy strategy sidecars written before the permission field existed.
hydration_strategy: Option<ExplainedHydrationStrategy>§declared_client_modules: Vec<String>§client_modules: Vec<String>§unused_client_modules: Vec<String>§component_fragment_imports: Vec<String>§runtime_features: Vec<String>§server_surfaces: Vec<ExplainedServerSurface>§crossings: Vec<ExplainedClientCrossing>§dead_primitives: Vec<ExplainedDeadPrimitive>§summary: String§roots: Vec<ExplainedRoot>§emitted: ExplainedEmission§next_actions: Vec<String>§sidecar_path: String§staleness: Option<String>Set when the anchored source no longer matches the sidecar’s input fingerprint (or cannot be found), meaning this analysis is outdated.
Trait Implementations§
Source§impl Clone for StrategyExplanation
impl Clone for StrategyExplanation
Source§impl Debug for StrategyExplanation
impl Debug for StrategyExplanation
Auto Trait Implementations§
impl Freeze for StrategyExplanation
impl RefUnwindSafe for StrategyExplanation
impl Send for StrategyExplanation
impl Sync for StrategyExplanation
impl Unpin for StrategyExplanation
impl UnsafeUnpin for StrategyExplanation
impl UnwindSafe for StrategyExplanation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more