pub struct RssConfig {
pub enabled: bool,
pub limit: usize,
}Expand description
RSS feed configuration.
Fields§
§enabled: boolWhether RSS feed is enabled.
limit: usizeMaximum number of items in feed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RssConfig
impl<'de> Deserialize<'de> for RssConfig
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 RssConfig
impl RefUnwindSafe for RssConfig
impl Send for RssConfig
impl Sync for RssConfig
impl Unpin for RssConfig
impl UnwindSafe for RssConfig
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