pub struct Model {
pub layout: String,
pub theme_switch: bool,
pub see_all: Option<SeeAll>,
pub title: Option<String>,
pub label: String,
pub heading_level: u8,
pub id: String,
pub credit: bool,
pub preload: Option<Preload>,
pub groups: Vec<Group>,
}Expand description
The manifest as the gallery shows it, with the keys of the contract fixtures’ model.json.
Fields§
§layout: String§theme_switch: bool§see_all: Option<SeeAll>§title: Option<String>§label: String§heading_level: u8§id: String§credit: bool§preload: Option<Preload>None: preloading with the defaults.
groups: Vec<Group>Trait Implementations§
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Forget for Model
impl Freeze for Model
impl Move for Model
impl RefUnwindSafe for Model
impl Send for Modelwhere
RawVecInner: Send,
impl Sync for Modelwhere
RawVecInner: Sync,
impl Unpin for Model
impl UnsafeUnpin for Modelwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Group>: UnsafeUnpin,
impl UnwindSafe for Modelwhere
RawVecInner: UnwindSafe,
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