pub enum SiteConfigValue {
V3(SiteConfig),
V4(Box<SiteConfig>),
}Expand description
Unified site config value (handles V3 and V4 differences)
Variants§
V3(SiteConfig)
V4(Box<SiteConfig>)
Trait Implementations§
Source§impl Clone for SiteConfigValue
impl Clone for SiteConfigValue
Source§fn clone(&self) -> SiteConfigValue
fn clone(&self) -> SiteConfigValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SiteConfigValue
impl RefUnwindSafe for SiteConfigValue
impl Send for SiteConfigValue
impl Sync for SiteConfigValue
impl Unpin for SiteConfigValue
impl UnwindSafe for SiteConfigValue
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