pub struct PageTheme {Show 20 fields
pub badge_enabled: Option<bool>,
pub badge_icon_color: Option<Box<ThemeColor>>,
pub badge_id: Option<String>,
pub badge_shape: Option<BadgeShape>,
pub body_font: Option<Box<FontConfig>>,
pub canvas_color: Option<Box<ThemeColor>>,
pub canvas_cover_id: Option<String>,
pub canvas_cover_mode: Option<CanvasCoverMode>,
pub container_config: Option<Box<ContainerConfig>>,
pub container_enabled: Option<bool>,
pub created_at: Option<String>,
pub element_color: Option<Box<ThemeColor>>,
pub element_font: Option<Box<FontConfig>>,
pub footer_logo_enabled: Option<bool>,
pub footer_logo_id: Option<String>,
pub id: Option<String>,
pub title_font: Option<Box<FontConfig>>,
pub updated_at: Option<String>,
pub visitor_experience: Option<VisitorExperience>,
pub workspace_id: Option<String>,
}Fields§
§badge_enabled: Option<bool>§badge_icon_color: Option<Box<ThemeColor>>§badge_id: Option<String>§badge_shape: Option<BadgeShape>§body_font: Option<Box<FontConfig>>§canvas_color: Option<Box<ThemeColor>>§canvas_cover_id: Option<String>§canvas_cover_mode: Option<CanvasCoverMode>§container_config: Option<Box<ContainerConfig>>§container_enabled: Option<bool>§created_at: Option<String>§element_color: Option<Box<ThemeColor>>§element_font: Option<Box<FontConfig>>Whether the footer logo (a small company or brand logo centered at the bottom of every page using this theme) is shown. Turning it off keeps footerLogoId, so turning it back on restores the same image.
id: Option<String>§title_font: Option<Box<FontConfig>>§updated_at: Option<String>§visitor_experience: Option<VisitorExperience>How visitor pages pace their content. Unset reads as CLASSIC.
workspace_id: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageTheme
impl<'de> Deserialize<'de> for PageTheme
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 PageTheme
Auto Trait Implementations§
impl Forget for PageTheme
impl Freeze for PageTheme
impl Move for PageTheme
impl RefUnwindSafe for PageTheme
impl Send for PageTheme
impl Sync for PageTheme
impl Unpin for PageTheme
impl UnsafeUnpin for PageTheme
impl UnwindSafe for PageTheme
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