Struct jxon::TextContent [−][src]
pub struct TextContent<T> {
pub content: T,
}
Expand description
A tag with no attributes and some text content.
Fields
content: T
The text inside the tag.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for TextContent<T> where
T: RefUnwindSafe,
impl<T> Send for TextContent<T> where
T: Send,
impl<T> Sync for TextContent<T> where
T: Sync,
impl<T> Unpin for TextContent<T> where
T: Unpin,
impl<T> UnwindSafe for TextContent<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more