pub struct Model {Show 17 fields
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 deep_links: bool,
pub text: Text,
pub search: bool,
pub zoom: bool,
pub new_badges: Option<u64>,
pub dimensions: Vec<Dimension>,
pub groups: Vec<Group>,
pub versions: Option<Versions>,
}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.
deep_links: bool§text: Text§search: boolWhether the grid shows its search box.
zoom: bool§new_badges: Option<u64>The New badge’s window in days; None: no badges.
dimensions: Vec<Dimension>§groups: Vec<Group>§versions: Option<Versions>The Version switch; None: none.
Trait Implementations§
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Forget for Model
impl Freeze for Modelwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Dimension>: Freeze,
PhantomData<Group>: Freeze,
PhantomData<Version>: Freeze,
impl Move for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Modelwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Dimension>: UnsafeUnpin,
PhantomData<Group>: UnsafeUnpin,
PhantomData<Version>: UnsafeUnpin,
impl UnwindSafe for Modelwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Vec<String>>: UnwindSafe,
BTreeMap<String, String>: 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