pub struct PreparedPost { /* private fields */ }Expand description
One validated document, its approved assets, and its cached content identity.
Implementations§
Source§impl PreparedPost
impl PreparedPost
pub fn view(&self) -> PreparedPostView<'_>
Sourcepub fn finalize_revision(
&self,
renderer: &PostRendererIdentity,
pre_injection_article: &[u8],
) -> PostRevisionDigest
pub fn finalize_revision( &self, renderer: &PostRendererIdentity, pre_injection_article: &[u8], ) -> PostRevisionDigest
Bind rendered bytes to the already validated source and asset identities.
Trait Implementations§
Source§impl Clone for PreparedPost
impl Clone for PreparedPost
Source§impl Debug for PreparedPost
impl Debug for PreparedPost
impl Eq for PreparedPost
Source§impl PartialEq for PreparedPost
impl PartialEq for PreparedPost
impl StructuralPartialEq for PreparedPost
Auto Trait Implementations§
impl Freeze for PreparedPost
impl RefUnwindSafe for PreparedPost
impl Send for PreparedPost
impl Sync for PreparedPost
impl Unpin for PreparedPost
impl UnsafeUnpin for PreparedPost
impl UnwindSafe for PreparedPost
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