pub struct PreviewDigestInput<'input> {
pub publication: &'input PublicationSettings,
pub site_assets: &'input ResolvedSiteAssets,
pub post_id: &'input PostId,
pub post_revision: &'input PostRevisionDigest,
pub post_renderer: &'input PostRendererIdentity,
pub article_identity_html: &'input [u8],
pub site_renderer: &'input SiteShellRendererIdentity,
pub pre_injection_post_shell: &'input [u8],
pub response_policy: &'input [u8],
pub profile_projection: &'input [u8],
pub canonical_url: &'input str,
}Expand description
Renderer-owned inputs to one preview approval binding.
Fields§
§publication: &'input PublicationSettings§site_assets: &'input ResolvedSiteAssets§post_id: &'input PostId§post_revision: &'input PostRevisionDigest§post_renderer: &'input PostRendererIdentity§article_identity_html: &'input [u8]§site_renderer: &'input SiteShellRendererIdentity§pre_injection_post_shell: &'input [u8]§response_policy: &'input [u8]Exact public response policy approved with the presentation.
profile_projection: &'input [u8]Opaque, canonical bytes for the SQLite-owned public profile projection.
The profile domain owns this encoding. The identity layer only frames it into the versioned preview transcript.
canonical_url: &'input strAuto Trait Implementations§
impl<'input> Freeze for PreviewDigestInput<'input>
impl<'input> RefUnwindSafe for PreviewDigestInput<'input>
impl<'input> Send for PreviewDigestInput<'input>
impl<'input> Sync for PreviewDigestInput<'input>
impl<'input> Unpin for PreviewDigestInput<'input>
impl<'input> UnsafeUnpin for PreviewDigestInput<'input>
impl<'input> UnwindSafe for PreviewDigestInput<'input>
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