pub enum StructuredTextType {
Show 16 variants
P {
children: Vec<Box<StructuredTextType>>,
},
Sup {
children: Vec<Box<StructuredTextType>>,
},
XhtmlB {
children: Vec<Box<StructuredTextType>>,
},
XhtmlOl {
children: Vec<Box<StructuredTextType>>,
},
XhtmlLi {
children: Vec<Box<StructuredTextType>>,
},
XhtmlUl {
children: Vec<Box<StructuredTextType>>,
},
XhtmlTBody {
children: Vec<Box<StructuredTextType>>,
},
XhtmlTable {
children: Vec<Box<StructuredTextType>>,
},
XhtmlTr {
children: Vec<Box<StructuredTextType>>,
},
XhtmlTh {
children: Vec<Box<StructuredTextType>>,
},
XhtmlTd {
children: Vec<Box<StructuredTextType>>,
},
XhtmlImg {
src: String,
alt: Option<String>,
},
XhtmlDiv {
style: Option<String>,
children: Vec<Box<StructuredTextType>>,
},
XhtmlBr,
XhtmlI {
text: String,
},
Text(String),
}
Variants§
P
Fields
§
children: Vec<Box<StructuredTextType>>
Sup
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlB
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlOl
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlLi
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlUl
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlTBody
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlTable
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlTr
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlTh
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlTd
Fields
§
children: Vec<Box<StructuredTextType>>
XhtmlImg
XhtmlDiv
XhtmlBr
XhtmlI
Text(String)
Trait Implementations§
Source§impl Debug for StructuredTextType
impl Debug for StructuredTextType
Source§impl<'de> Deserialize<'de> for StructuredTextType
impl<'de> Deserialize<'de> for StructuredTextType
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 Freeze for StructuredTextType
impl RefUnwindSafe for StructuredTextType
impl Send for StructuredTextType
impl Sync for StructuredTextType
impl Unpin for StructuredTextType
impl UnwindSafe for StructuredTextType
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