[−][src]Struct strason::object::SerializeSeq
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
.
fn serialize_element<T: Serialize + ?Sized>(
&mut self,
value: &T
) -> Result<(), Error>
[src]
&mut self,
value: &T
) -> Result<(), Error>
fn end(self) -> Result<Json, Error>
[src]
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_key<T: Serialize + ?Sized>(&mut self, key: &T) -> Result<(), Error>
[src]
fn serialize_value<T: Serialize + ?Sized>(
&mut self,
val: &T
) -> Result<(), Error>
[src]
&mut self,
val: &T
) -> Result<(), Error>
fn end(self) -> Result<Json, Error>
[src]
fn serialize_entry<K, V>(
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized,
[src]
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error> where
K: Serialize + ?Sized,
V: Serialize + ?Sized,
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
.
fn serialize_field<T: Serialize + ?Sized>(
&mut self,
value: &T
) -> Result<(), Error>
[src]
&mut self,
value: &T
) -> Result<(), Error>
fn end(self) -> Result<Json, Error>
[src]
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 serialize_field<T: Serialize + ?Sized>(
&mut self,
key: &'static str,
val: &T
) -> Result<(), Error>
[src]
&mut self,
key: &'static str,
val: &T
) -> Result<(), Error>
fn end(self) -> Result<Json, Error>
[src]
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]
Auto Trait Implementations
impl<T> Unpin for SerializeSeq<T> where
T: Unpin,
T: Unpin,
impl<T> Sync for SerializeSeq<T> where
T: Sync,
T: Sync,
impl<T> Send for SerializeSeq<T> where
T: Send,
T: Send,
impl<T> UnwindSafe for SerializeSeq<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for SerializeSeq<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,