pub struct PublicRender {
pub values: Value,
pub zone_html: HashMap<String, String>,
pub body_html: String,
pub first_media_id: Option<i64>,
pub labels: Value,
}Expand description
What public_render hands the page renderer.
Fields§
§values: ValueThe filled values, exposed to templates as builder.*.
zone_html: HashMap<String, String>Each zone’s rendered HTML, by zone key.
body_html: StringThe generic body for templates that don’t know the schema.
first_media_id: Option<i64>The first photo a media-picker field holds — the page’s share image when none is chosen on the Promote tab.
labels: ValueThe choice fields’ display labels, exposed as builder_labels.*
(see choice_labels).
Trait Implementations§
Source§impl Clone for PublicRender
impl Clone for PublicRender
Auto Trait Implementations§
impl Forget for PublicRender
impl Freeze for PublicRender
impl RefUnwindSafe for PublicRender
impl Send for PublicRender
impl Sync for PublicRender
impl Unpin for PublicRender
impl UnsafeUnpin for PublicRender
impl UnwindSafe for PublicRender
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.