pub enum TypedText {
Text(TextContent),
}Expand description
A {type: "text", ...} block where only text is allowed.
Variants§
Text(TextContent)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypedText
impl<'de> Deserialize<'de> for TypedText
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 TypedText
Auto Trait Implementations§
impl Forget for TypedText
impl Freeze for TypedText
impl Move for TypedText
impl RefUnwindSafe for TypedText
impl Send for TypedText
impl Sync for TypedText
impl Unpin for TypedText
impl UnsafeUnpin for TypedText
impl UnwindSafe for TypedText
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