pub enum DemonstrativeExampleChild {
TitleText(String),
IntroText(StructuredText),
BodyText(StructuredText),
ExampleCode(StructuredCode),
References {
children: Vec<Reference>,
},
}Variants§
TitleText(String)
IntroText(StructuredText)
BodyText(StructuredText)
ExampleCode(StructuredCode)
References
Trait Implementations§
Source§impl Debug for DemonstrativeExampleChild
impl Debug for DemonstrativeExampleChild
Source§impl<'de> Deserialize<'de> for DemonstrativeExampleChild
impl<'de> Deserialize<'de> for DemonstrativeExampleChild
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 DemonstrativeExampleChild
impl RefUnwindSafe for DemonstrativeExampleChild
impl Send for DemonstrativeExampleChild
impl Sync for DemonstrativeExampleChild
impl Unpin for DemonstrativeExampleChild
impl UnwindSafe for DemonstrativeExampleChild
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