pub struct SelectionPanelProps {
pub form_id: String,
pub empty_message: 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>Placeholder text shown by the EmptyState when the panel has no line items.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for SelectionPanelProps
impl JsonSchema for SelectionPanelProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SelectionPanelProps
impl PartialEq for SelectionPanelProps
Source§fn eq(&self, other: &SelectionPanelProps) -> bool
fn eq(&self, other: &SelectionPanelProps) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectionPanelProps
impl Serialize for SelectionPanelProps
impl StructuralPartialEq for SelectionPanelProps
Auto Trait Implementations§
impl Freeze for SelectionPanelProps
impl RefUnwindSafe for SelectionPanelProps
impl Send for SelectionPanelProps
impl Sync for SelectionPanelProps
impl Unpin for SelectionPanelProps
impl UnsafeUnpin for SelectionPanelProps
impl UnwindSafe for SelectionPanelProps
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