Struct cobalt_config::PageCollection
source · [−]#[non_exhaustive]pub struct PageCollection {
pub default: Frontmatter,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.default: Frontmatter
Trait Implementations
sourceimpl Clone for PageCollection
impl Clone for PageCollection
sourcefn clone(&self) -> PageCollection
fn clone(&self) -> PageCollection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PageCollection
impl Debug for PageCollection
sourceimpl Default for PageCollection
impl Default for PageCollection
sourcefn default() -> PageCollection
fn default() -> PageCollection
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PageCollection where
PageCollection: Default,
impl<'de> Deserialize<'de> for PageCollection where
PageCollection: Default,
sourcefn 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
sourceimpl From<PageCollection> for Collection
impl From<PageCollection> for Collection
sourcefn from(other: PageCollection) -> Collection
fn from(other: PageCollection) -> Collection
Converts to this type from the input type.
sourceimpl PartialEq<PageCollection> for PageCollection
impl PartialEq<PageCollection> for PageCollection
sourcefn eq(&self, other: &PageCollection) -> bool
fn eq(&self, other: &PageCollection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for PageCollection
impl Serialize for PageCollection
impl StructuralPartialEq for PageCollection
Auto Trait Implementations
impl RefUnwindSafe for PageCollection
impl Send for PageCollection
impl Sync for PageCollection
impl Unpin for PageCollection
impl UnwindSafe for PageCollection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more