Type Alias relay_protocol::Array
source · pub type Array<T> = Vec<Annotated<T>>;
Expand description
Alias for typed arrays.
Aliased Type§
struct Array<T> { /* private fields */ }
Trait Implementations§
source§impl<T> IntoValue for Array<T>where
T: IntoValue,
impl<T> IntoValue for Array<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.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.