pub struct StagingSection {
pub slug_template: Option<String>,
pub slug_capability: Option<SlugCapability>,
pub stage_name_pattern: Option<String>,
pub stage_name_max_len: Option<usize>,
pub stage_name_invalid_message: Option<String>,
pub rewrites_frontmatter_name: bool,
pub advertises_staged_slug_name: bool,
pub surface_phrase: Option<String>,
pub unresolved_phrase: Option<String>,
}Fields§
§slug_template: Option<String>§slug_capability: Option<SlugCapability>§stage_name_pattern: Option<String>§stage_name_max_len: Option<usize>§stage_name_invalid_message: Option<String>§rewrites_frontmatter_name: bool§advertises_staged_slug_name: bool§surface_phrase: Option<String>§unresolved_phrase: Option<String>Implementations§
Source§impl StagingSection
impl StagingSection
Sourcepub fn is_configured(&self) -> bool
pub fn is_configured(&self) -> bool
True when any field departs from the defaults — the signal that the descriptor actually configures native staging.
Trait Implementations§
Source§impl Clone for StagingSection
impl Clone for StagingSection
Source§fn clone(&self) -> StagingSection
fn clone(&self) -> StagingSection
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 moreSource§impl Debug for StagingSection
impl Debug for StagingSection
Source§impl Default for StagingSection
impl Default for StagingSection
Source§fn default() -> StagingSection
fn default() -> StagingSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StagingSection
impl<'de> Deserialize<'de> for StagingSection
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 StagingSection
impl RefUnwindSafe for StagingSection
impl Send for StagingSection
impl Sync for StagingSection
impl Unpin for StagingSection
impl UnsafeUnpin for StagingSection
impl UnwindSafe for StagingSection
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