pub struct ViewRoot {
pub node_id: Option<String>,
pub children: Option<Vec<ChildNode>>,
pub document_language: Option<String>,
pub text_direction: Option<String>,
pub semantic_nodes: Option<Vec<SemanticNode>>,
pub metadata: Option<PageMetadata>,
}Expand description
ViewRoot — document root, one per route.
Fields§
§node_id: Option<String>§children: Option<Vec<ChildNode>>§document_language: Option<String>§text_direction: Option<String>§semantic_nodes: Option<Vec<SemanticNode>>§metadata: Option<PageMetadata>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewRoot
impl<'de> Deserialize<'de> for ViewRoot
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
Auto Trait Implementations§
impl Forget for ViewRoot
impl Freeze for ViewRoot
impl Move for ViewRoot
impl RefUnwindSafe for ViewRoot
impl Send for ViewRoot
impl Sync for ViewRoot
impl Unpin for ViewRoot
impl UnsafeUnpin for ViewRoot
impl UnwindSafe for ViewRoot
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