pub struct WdfRoot {
pub node_type: String,
pub content: Vec<WdfBlock>,
}Expand description
The root node of a WdfDocument.
Fields§
§node_type: StringNode type string; "doc" in canonical documents.
content: Vec<WdfBlock>One or more block nodes. An empty document is invalid.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WdfRoot
impl<'de> Deserialize<'de> for WdfRoot
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
impl StructuralPartialEq for WdfRoot
Auto Trait Implementations§
impl Freeze for WdfRoot
impl RefUnwindSafe for WdfRoot
impl Send for WdfRoot
impl Sync for WdfRoot
impl Unpin for WdfRoot
impl UnsafeUnpin for WdfRoot
impl UnwindSafe for WdfRoot
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