pub enum SceneNodeContent {
Empty,
Header {
eyebrow: String,
title: String,
},
Facts {
items: Vec<FactContent>,
},
List {
items: Vec<String>,
},
Table {
headers: Vec<String>,
rows: Vec<Vec<String>>,
},
Result {
disposition: FinalDisposition,
},
Actions {
items: Vec<SceneAction>,
},
Menu {
items: Vec<String>,
},
}Expand description
Structured content carried by one scene node.
Variants§
Empty
A node with no direct readable content.
Header
Receipt eyebrow and title.
Facts
Label/value facts.
Fields
§
items: Vec<FactContent>Ordered facts.
List
Ordered evidence strings.
Table
Bounded table content.
Result
Canonical result value.
Fields
§
disposition: FinalDispositionPreserved final disposition.
Actions
Generated native actions.
Fields
§
items: Vec<SceneAction>Ordered action descriptions.
Menu
Native menu item labels.
Trait Implementations§
Source§impl Clone for SceneNodeContent
impl Clone for SceneNodeContent
Source§impl Debug for SceneNodeContent
impl Debug for SceneNodeContent
Source§impl<'de> Deserialize<'de> for SceneNodeContent
impl<'de> Deserialize<'de> for SceneNodeContent
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
impl Eq for SceneNodeContent
Source§impl PartialEq for SceneNodeContent
impl PartialEq for SceneNodeContent
Source§impl Serialize for SceneNodeContent
impl Serialize for SceneNodeContent
impl StructuralPartialEq for SceneNodeContent
Auto Trait Implementations§
impl Freeze for SceneNodeContent
impl RefUnwindSafe for SceneNodeContent
impl Send for SceneNodeContent
impl Sync for SceneNodeContent
impl Unpin for SceneNodeContent
impl UnsafeUnpin for SceneNodeContent
impl UnwindSafe for SceneNodeContent
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