Struct wireplumber::spa::json::SpaJsonChildSerializer
source · pub struct SpaJsonChildSerializer<S, P> {
pub serializer: S,
pub parent: P,
}
Fields§
§serializer: S
§parent: P
Implementations§
source§impl<S, P> SpaJsonChildSerializer<S, P>
impl<S, P> SpaJsonChildSerializer<S, P>
Trait Implementations§
source§impl<'a, S: SerializeMap<Ok = SpaJson>> SerializeMap for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
impl<'a, S: SerializeMap<Ok = SpaJson>> SerializeMap for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
§type Error = <S as SerializeMap>::Error
type Error = <S as SerializeMap>::Error
Must match the
Error
type of our Serializer
.source§fn serialize_entry<K: Serialize + ?Sized, V: Serialize + ?Sized>(
&mut self,
key: &K,
value: &V
) -> Result<(), Self::Error>
fn serialize_entry<K: Serialize + ?Sized, V: Serialize + ?Sized>( &mut self, key: &K, value: &V ) -> Result<(), Self::Error>
Serialize a map entry consisting of a key and a value. Read more
source§fn serialize_key<T: ?Sized + Serialize>(
&mut self,
key: &T
) -> Result<(), Self::Error>
fn serialize_key<T: ?Sized + Serialize>( &mut self, key: &T ) -> Result<(), Self::Error>
Serialize a map key. Read more
source§impl<'a, S: SerializeSeq<Ok = SpaJson>> SerializeSeq for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
impl<'a, S: SerializeSeq<Ok = SpaJson>> SerializeSeq for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
source§impl<S, P> SerializeStruct for SpaJsonChildSerializer<S, P>where
Self: SerializeMap,
impl<S, P> SerializeStruct for SpaJsonChildSerializer<S, P>where
Self: SerializeMap,
§type Ok = <SpaJsonChildSerializer<S, P> as SerializeMap>::Ok
type Ok = <SpaJsonChildSerializer<S, P> as SerializeMap>::Ok
Must match the
Ok
type of our Serializer
.§type Error = <SpaJsonChildSerializer<S, P> as SerializeMap>::Error
type Error = <SpaJsonChildSerializer<S, P> as SerializeMap>::Error
Must match the
Error
type of our Serializer
.source§impl<'a, S: SerializeStructVariant<Ok = SpaJson>> SerializeStructVariant for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
impl<'a, S: SerializeStructVariant<Ok = SpaJson>> SerializeStructVariant for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
source§impl<'a, S: SerializeStruct<Ok = SpaJson>> SerializeStructVariant for SpaJsonChildSerializer<S, SpaJsonBuilder>
impl<'a, S: SerializeStruct<Ok = SpaJson>> SerializeStructVariant for SpaJsonChildSerializer<S, SpaJsonBuilder>
source§impl<S, P> SerializeTuple for SpaJsonChildSerializer<S, P>where
Self: SerializeSeq,
impl<S, P> SerializeTuple for SpaJsonChildSerializer<S, P>where
Self: SerializeSeq,
§type Ok = <SpaJsonChildSerializer<S, P> as SerializeSeq>::Ok
type Ok = <SpaJsonChildSerializer<S, P> as SerializeSeq>::Ok
Must match the
Ok
type of our Serializer
.§type Error = <SpaJsonChildSerializer<S, P> as SerializeSeq>::Error
type Error = <SpaJsonChildSerializer<S, P> as SerializeSeq>::Error
Must match the
Error
type of our Serializer
.source§impl<S, P> SerializeTupleStruct for SpaJsonChildSerializer<S, P>where
Self: SerializeTuple,
impl<S, P> SerializeTupleStruct for SpaJsonChildSerializer<S, P>where
Self: SerializeTuple,
§type Ok = <SpaJsonChildSerializer<S, P> as SerializeTuple>::Ok
type Ok = <SpaJsonChildSerializer<S, P> as SerializeTuple>::Ok
Must match the
Ok
type of our Serializer
.§type Error = <SpaJsonChildSerializer<S, P> as SerializeTuple>::Error
type Error = <SpaJsonChildSerializer<S, P> as SerializeTuple>::Error
Must match the
Error
type of our Serializer
.source§impl<'a, S: SerializeTupleVariant<Ok = SpaJson>> SerializeTupleVariant for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
impl<'a, S: SerializeTupleVariant<Ok = SpaJson>> SerializeTupleVariant for SpaJsonChildSerializer<S, &'a mut SpaJsonBuilder>
source§impl<'a, S: SerializeTuple<Ok = SpaJson>> SerializeTupleVariant for SpaJsonChildSerializer<S, SpaJsonBuilder>
impl<'a, S: SerializeTuple<Ok = SpaJson>> SerializeTupleVariant for SpaJsonChildSerializer<S, SpaJsonBuilder>
Auto Trait Implementations§
impl<S, P> Freeze for SpaJsonChildSerializer<S, P>
impl<S, P> RefUnwindSafe for SpaJsonChildSerializer<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for SpaJsonChildSerializer<S, P>
impl<S, P> Sync for SpaJsonChildSerializer<S, P>
impl<S, P> Unpin for SpaJsonChildSerializer<S, P>
impl<S, P> UnwindSafe for SpaJsonChildSerializer<S, P>where
S: UnwindSafe,
P: UnwindSafe,
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