Struct iron_json_response::JsonResponse
[−]
[src]
pub struct JsonResponse { /* fields omitted */ }
Methods
impl JsonResponse
[src]
fn new<T: ToJson>(value: T, callback: Option<String>) -> JsonResponse
fn json<T: ToJson>(value: T) -> JsonResponse
fn jsonp<T: ToJson>(value: T, cb_name: String) -> JsonResponse
Trait Implementations
impl Clone for JsonResponse
[src]
fn clone(&self) -> JsonResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more