pub enum Item {
Field(Field),
Action(Action),
Status(Status),
Callout(Callout),
Widget(Widget),
List(Records),
Table(Records),
Unknown(Unknown),
}Expand description
A row of a group: every field, action, status and callout is one.
A brick this version does not know (a newer manifest’s node) reads
as Item::Unknown instead of failing the whole manifest;
Manifest::check reports it (admin-unknown-node) and leaves it
out, so the rest of the page still shows.
Variants§
Field(Field)
Action(Action)
Status(Status)
Callout(Callout)
Widget(Widget)
A registered widget kind: the declared exception.
List(Records)
Records as list items: a title, a subtitle, a trailing value.
Table(Records)
Records as a table: a column per key.
Unknown(Unknown)
A brick this version does not know, kept as it was read.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Item, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Item, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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