pub struct DiscoveredPage {
pub pattern: String,
pub module: String,
pub layouts: Vec<String>,
pub is_dynamic: bool,
}Expand description
Metadata for a discovered page (from src/pages/).
Fields§
§pattern: String§module: String§layouts: Vec<String>§is_dynamic: boolTrait Implementations§
Source§impl Clone for DiscoveredPage
impl Clone for DiscoveredPage
Source§fn clone(&self) -> DiscoveredPage
fn clone(&self) -> DiscoveredPage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiscoveredPage
impl RefUnwindSafe for DiscoveredPage
impl Send for DiscoveredPage
impl Sync for DiscoveredPage
impl Unpin for DiscoveredPage
impl UnsafeUnpin for DiscoveredPage
impl UnwindSafe for DiscoveredPage
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