pub struct SelectionPanelProps {
pub form_id: String,
pub empty_message: Option<String>,
pub empty_body: Option<String>,
pub currency: Option<String>,
pub total_label: Option<String>,
}Expand description
Props for the SelectionPanel builtin — a server-rendered selection summary that
pins and scrolls internally under fill_viewport. Renderer lands in Phase 256.
Fields§
§form_id: StringScope isolator matching the paired TileGrid form_id.
empty_message: Option<String>Heading text shown in the EmptyState when the panel has no line items.
empty_body: Option<String>Optional supplementary body text shown below empty_message in the
EmptyState. Omit when no actionable guidance exists.
currency: Option<String>Optional currency symbol (e.g. “€”) emitted as data-selection-currency
on the running-total element. Neutral default is no symbol — the runtime
formats the integer-cents total with two decimals and a “,” separator and
prepends this symbol only when present. No locale tables; display only.
total_label: Option<String>Label for the running-total row. Render default is “Total” (neutral
English — this crate is project-agnostic). Pass total_label: "Totale" or any locale string from the consumer.
Trait Implementations§
Source§impl Clone for SelectionPanelProps
impl Clone for SelectionPanelProps
Source§fn clone(&self) -> SelectionPanelProps
fn clone(&self) -> SelectionPanelProps
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SelectionPanelProps
impl Debug for SelectionPanelProps
Source§impl<'de> Deserialize<'de> for SelectionPanelProps
impl<'de> Deserialize<'de> for SelectionPanelProps
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>,
Source§impl JsonSchema for SelectionPanelProps
impl JsonSchema for SelectionPanelProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more