pub struct BlockView {
pub block_id: BlockId,
pub content: Option<String>,
pub role: Option<String>,
pub tags: Vec<String>,
pub children_count: usize,
pub incoming_edges: usize,
pub outgoing_edges: usize,
}Expand description
View of a block’s content.
Fields§
§block_id: BlockIdBlock ID.
content: Option<String>Content (based on view mode).
role: Option<String>Semantic role.
Tags.
children_count: usizeChildren count.
incoming_edges: usizeIncoming edges count.
outgoing_edges: usizeOutgoing edges count.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockView
impl RefUnwindSafe for BlockView
impl Send for BlockView
impl Sync for BlockView
impl Unpin for BlockView
impl UnwindSafe for BlockView
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