Struct cobalt_config::PageCollection
source · pub struct PageCollection {
pub default: Frontmatter,
}
Fields§
§default: Frontmatter
Trait Implementations§
source§impl Clone for PageCollection
impl Clone for PageCollection
source§fn clone(&self) -> PageCollection
fn clone(&self) -> PageCollection
Returns a copy 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 PageCollection
impl Debug for PageCollection
source§impl Default for PageCollection
impl Default for PageCollection
source§fn default() -> PageCollection
fn default() -> PageCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PageCollectionwhere
PageCollection: Default,
impl<'de> Deserialize<'de> for PageCollectionwhere
PageCollection: Default,
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
source§impl From<PageCollection> for Collection
impl From<PageCollection> for Collection
source§fn from(other: PageCollection) -> Collection
fn from(other: PageCollection) -> Collection
Converts to this type from the input type.
source§impl PartialEq for PageCollection
impl PartialEq for PageCollection
source§fn 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 ==
.source§impl Serialize for PageCollection
impl Serialize for PageCollection
impl Eq 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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.