Struct cobalt::cobalt_model::PostConfig
source · pub struct PostConfig {
pub title: Option<String>,
pub description: Option<String>,
pub dir: String,
pub drafts_dir: Option<String>,
pub order: SortOrder,
pub rss: Option<String>,
pub jsonfeed: Option<String>,
pub default: FrontmatterBuilder,
}Fields
title: Option<String>description: Option<String>dir: Stringdrafts_dir: Option<String>order: SortOrderrss: Option<String>jsonfeed: Option<String>default: FrontmatterBuilderTrait Implementations
sourceimpl Clone for PostConfig
impl Clone for PostConfig
sourcefn clone(&self) -> PostConfig
fn clone(&self) -> PostConfig
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 moresourceimpl Debug for PostConfig
impl Debug for PostConfig
sourceimpl Default for PostConfig
impl Default for PostConfig
sourceimpl<'de> Deserialize<'de> for PostConfigwhere
PostConfig: Default,
impl<'de> Deserialize<'de> for PostConfigwhere
PostConfig: 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 PartialEq<PostConfig> for PostConfig
impl PartialEq<PostConfig> for PostConfig
sourcefn eq(&self, other: &PostConfig) -> bool
fn eq(&self, other: &PostConfig) -> bool
sourceimpl Serialize for PostConfig
impl Serialize for PostConfig
impl StructuralPartialEq for PostConfig
Auto Trait Implementations
impl RefUnwindSafe for PostConfig
impl Send for PostConfig
impl Sync for PostConfig
impl Unpin for PostConfig
impl UnwindSafe for PostConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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