[][src]Struct jxon::TextContent

pub struct TextContent<T> {
    pub content: T,
}

A tag with no attributes and some text content.

Fields

content: T

The text inside the tag.

Trait Implementations

impl<T: Clone> Clone for TextContent<T>[src]

impl<T: Debug> Debug for TextContent<T>[src]

impl<'de, T> Deserialize<'de> for TextContent<T> where
    T: Deserialize<'de>, 
[src]

impl<T: PartialEq> PartialEq<TextContent<T>> for TextContent<T>[src]

impl<T> Serialize for TextContent<T> where
    T: Serialize
[src]

impl<T> StructuralPartialEq for TextContent<T>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.