pub struct ContentConfigRaw {
pub content_sources: HashMap<String, ContentSourceConfigRaw>,
pub metadata: Metadata,
pub categories: HashMap<String, Category>,
}Fields§
§content_sources: HashMap<String, ContentSourceConfigRaw>§metadata: Metadata§categories: HashMap<String, Category>Implementations§
Source§impl ContentConfigRaw
impl ContentConfigRaw
pub fn matches_url_pattern(pattern: &str, path: &str) -> bool
Trait Implementations§
Source§impl Clone for ContentConfigRaw
impl Clone for ContentConfigRaw
Source§fn clone(&self) -> ContentConfigRaw
fn clone(&self) -> ContentConfigRaw
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 moreSource§impl ContentRouting for ContentConfigRaw
impl ContentRouting for ContentConfigRaw
fn is_html_page(&self, path: &str) -> bool
fn determine_source(&self, path: &str) -> String
Source§impl Debug for ContentConfigRaw
impl Debug for ContentConfigRaw
Source§impl<'de> Deserialize<'de> for ContentConfigRaw
impl<'de> Deserialize<'de> for ContentConfigRaw
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 ContentConfigRaw
impl RefUnwindSafe for ContentConfigRaw
impl Send for ContentConfigRaw
impl Sync for ContentConfigRaw
impl Unpin for ContentConfigRaw
impl UnwindSafe for ContentConfigRaw
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