[][src]Struct strason::object::SerializeSeq

pub struct SerializeSeq<T> { /* fields omitted */ }

Trait Implementations

impl SerializeTuple for SerializeSeq<Json>[src]

type Ok = Json

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

impl SerializeMap for SerializeSeq<(String, Json)>[src]

type Ok = Json

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn serialize_entry<K, V>(
    &mut self,
    key: &K,
    value: &V
) -> Result<(), Self::Error> where
    K: Serialize + ?Sized,
    V: Serialize + ?Sized
[src]

Serialize a map entry consisting of a key and a value. Read more

impl SerializeTupleStruct for SerializeSeq<Json>[src]

type Ok = Json

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

impl SerializeStruct for SerializeSeq<(String, Json)>[src]

type Ok = Json

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>[src]

Indicate that a struct field has been skipped.

impl SerializeSeq for SerializeSeq<Json>[src]

type Ok = Json

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

Auto Trait Implementations

impl<T> Unpin for SerializeSeq<T> where
    T: Unpin

impl<T> Sync for SerializeSeq<T> where
    T: Sync

impl<T> Send for SerializeSeq<T> where
    T: Send

impl<T> UnwindSafe for SerializeSeq<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for SerializeSeq<T> where
    T: RefUnwindSafe

Blanket Implementations

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

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

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

type Error = Infallible

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.

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

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

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