pub struct PageConfig {
pub layout_chain: Vec<LayoutChainEntry>,
pub data_id: String,
pub head_meta: Option<String>,
}Expand description
Configuration for page assembly, passed as JSON.
Fields§
§layout_chain: Vec<LayoutChainEntry>§data_id: String§head_meta: Option<String>Trait Implementations§
Source§impl Clone for PageConfig
impl Clone for PageConfig
Source§fn clone(&self) -> PageConfig
fn clone(&self) -> PageConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PageConfig
impl Debug for PageConfig
Source§impl<'de> Deserialize<'de> for PageConfig
impl<'de> Deserialize<'de> for PageConfig
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
Auto Trait Implementations§
impl Freeze for PageConfig
impl RefUnwindSafe for PageConfig
impl Send for PageConfig
impl Sync for PageConfig
impl Unpin for PageConfig
impl UnsafeUnpin for PageConfig
impl UnwindSafe for PageConfig
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