pub struct InfoPage {
pub slug: String,
pub title: String,
pub body: String,
}Expand description
One of the site’s non-episode pages, kept so the interface can present it as the site does.
Same enrichment source as track listings, but with no audio to join to, which is why
these live beside Catalog::episodes rather than in it.
Fields§
§slug: StringSite slug, which is this page’s identity: about or credits.
title: StringDisplay title as the bundle gives it.
body: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for InfoPage
impl<'de> Deserialize<'de> for InfoPage
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
impl StructuralPartialEq for InfoPage
Auto Trait Implementations§
impl Freeze for InfoPage
impl RefUnwindSafe for InfoPage
impl Send for InfoPage
impl Sync for InfoPage
impl Unpin for InfoPage
impl UnsafeUnpin for InfoPage
impl UnwindSafe for InfoPage
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