Struct serde::json::builder::ArrayBuilder
[−]
[src]
pub struct ArrayBuilder { // some fields omitted }
pub struct ArrayBuilder { // some fields omitted }
impl ArrayBuilder
fn new() -> ArrayBuilder
fn unwrap(self) -> Value
fn push<T: Serialize>(self, v: T) -> ArrayBuilder
fn push_array<F>(self, f: F) -> ArrayBuilder where F: FnOnce(ArrayBuilder) -> ArrayBuilder
fn push_object<F>(self, f: F) -> ArrayBuilder where F: FnOnce(ObjectBuilder) -> ObjectBuilder
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)