pub struct PackedPageBody { /* private fields */ }Expand description
Per-page heavy content record stored inside the compressed site_bodies.euvz payload.
Implementations§
Source§impl PackedPageBody
impl PackedPageBody
pub fn get_markdown_body(&self) -> &String
pub fn get_mut_markdown_body(&mut self) -> &mut String
pub fn set_markdown_body(&mut self, val: String) -> &mut Self
pub fn get_blocks(&self) -> &Vec<DocBlock>
pub fn get_mut_blocks(&mut self) -> &mut Vec<DocBlock>
pub fn set_blocks(&mut self, val: Vec<DocBlock>) -> &mut Self
Trait Implementations§
Source§impl Clone for PackedPageBody
impl Clone for PackedPageBody
Source§impl Debug for PackedPageBody
impl Debug for PackedPageBody
Source§impl Default for PackedPageBody
impl Default for PackedPageBody
Source§impl<'de> Deserialize<'de> for PackedPageBody
impl<'de> Deserialize<'de> for PackedPageBody
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
Source§impl PartialEq for PackedPageBody
impl PartialEq for PackedPageBody
Source§impl Serialize for PackedPageBody
impl Serialize for PackedPageBody
impl StructuralPartialEq for PackedPageBody
Auto Trait Implementations§
impl Forget for PackedPageBody
impl Freeze for PackedPageBody
impl Move for PackedPageBody
impl RefUnwindSafe for PackedPageBody
impl Send for PackedPageBodywhere
RawVecInner: Send,
impl Sync for PackedPageBodywhere
RawVecInner: Sync,
impl Unpin for PackedPageBody
impl UnsafeUnpin for PackedPageBodywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DocBlock>: UnsafeUnpin,
impl UnwindSafe for PackedPageBodywhere
RawVecInner: UnwindSafe,
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