Struct roadrunner::Content [] [src]

pub struct Content { /* fields omitted */ }

Holds the body content of a response.

Methods

impl Content
[src]

Get the raw body content as a &str.

Get the body content as a serde_json::value::Value.

Get the body content as a strongly typed struct.

The struct has to implement Serde's Deserialize trait.

Trait Implementations

impl Debug for Content
[src]

Formats the value using the given formatter.