pub struct DetailPageProps {
pub title: String,
pub breadcrumb: Vec<BreadcrumbItem>,
pub actions: Vec<String>,
pub info: Vec<String>,
}Expand description
Props for DetailPage component – opinionated resource-detail skeleton.
Renders a PageHeader (title + breadcrumb + actions), an info Card
wrapping the info slot IDs (typically a Badge plus a DescriptionList),
and Element.children as stacked sections below the card (tabs,
related-resource lists, action panels). Centralizes the visual contract
every dashboard detail page follows so per-page rebuilds cannot drift
from the canonical shape.
Fields§
§title: String§actions: Vec<String>IDs of action button elements rendered to the right of the title.
info: Vec<String>IDs of elements rendered inside the info Card (typically a Badge and a DescriptionList). Omit to skip the card.
Trait Implementations§
Source§impl Clone for DetailPageProps
impl Clone for DetailPageProps
Source§fn clone(&self) -> DetailPageProps
fn clone(&self) -> DetailPageProps
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 DetailPageProps
impl Debug for DetailPageProps
Source§impl<'de> Deserialize<'de> for DetailPageProps
impl<'de> Deserialize<'de> for DetailPageProps
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 DetailPageProps
impl JsonSchema for DetailPageProps
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 DetailPageProps
impl PartialEq for DetailPageProps
Source§fn eq(&self, other: &DetailPageProps) -> bool
fn eq(&self, other: &DetailPageProps) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DetailPageProps
impl Serialize for DetailPageProps
impl StructuralPartialEq for DetailPageProps
Auto Trait Implementations§
impl Freeze for DetailPageProps
impl RefUnwindSafe for DetailPageProps
impl Send for DetailPageProps
impl Sync for DetailPageProps
impl Unpin for DetailPageProps
impl UnsafeUnpin for DetailPageProps
impl UnwindSafe for DetailPageProps
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