pub struct HeaderBlock {
pub text: TextObject,
pub block_id: Option<BlockId>,
}Expand description
Header block.
Fields§
§text: TextObjectThe text for the block, in the form of a plain_text text object.
block_id: Option<BlockId>A unique identifier for a block.
Trait Implementations§
Source§impl Clone for HeaderBlock
impl Clone for HeaderBlock
Source§fn clone(&self) -> HeaderBlock
fn clone(&self) -> HeaderBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeaderBlock
impl Debug for HeaderBlock
Auto Trait Implementations§
impl Freeze for HeaderBlock
impl RefUnwindSafe for HeaderBlock
impl Send for HeaderBlock
impl Sync for HeaderBlock
impl Unpin for HeaderBlock
impl UnwindSafe for HeaderBlock
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