pub type Object<T> = Map<String, Annotated<T>>;
Expand description
Alias for typed objects.
Aliased Type§
struct Object<T> { /* private fields */ }
Trait Implementations§
source§impl<T> IntoValue for Object<T>where
T: IntoValue,
impl<T> IntoValue for Object<T>where
T: IntoValue,
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
s: S,
behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
s: S,
behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.