pub struct DecodedRender {
pub dto: Value,
pub provenance: ProvStamp,
pub mode: RenderMode,
}Expand description
The decoded render payload: the canonical input DTO plus the provenance stamp
that was bound into the URI at render_workbook time.
The read side (super::render_resource) VERIFIES provenance against the
live bundle stamp and RE-VALIDATES dto through
super::input::validate_input before re-running — neither is trusted as-is.
Fields§
§dto: ValueThe canonical wire DTO ({ inputs, overrides }) — the SAME shape
super::input::validate_input accepts, so it re-validates on read.
provenance: ProvStampThe provenance stamp bound into the URI at encode time. The read side rejects the URI if this does not equal the live bundle stamp (cross-provenance spoofing guard, T-92-15).
mode: RenderModeThe render mode bound into the URI at encode time (WBVER-02). A pre-phase
URI (no mode key) decodes to RenderMode::Filled (back-compat); a
present-but-malformed value is a decode Err (never a silent Filled).
Trait Implementations§
Source§impl Clone for DecodedRender
impl Clone for DecodedRender
Source§impl Debug for DecodedRender
impl Debug for DecodedRender
impl Eq for DecodedRender
Source§impl PartialEq for DecodedRender
impl PartialEq for DecodedRender
impl StructuralPartialEq for DecodedRender
Auto Trait Implementations§
impl Freeze for DecodedRender
impl RefUnwindSafe for DecodedRender
impl Send for DecodedRender
impl Sync for DecodedRender
impl Unpin for DecodedRender
impl UnsafeUnpin for DecodedRender
impl UnwindSafe for DecodedRender
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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 more