philbooth · GitHub

Merged

Merged

Conversation

@philbooth

philbooth

#[test]
fn deserialize_bounce_type() {
let bounce_type: BounceType = serde_json::from_value(json!(0)).expect("JSON error");
let bounce_type: BounceType = serde_json::from_value(From::from(0)).expect("JSON error");

@philbooth

rfk

rfk approved these changes May 28, 2018


Once you have config set,
you can start the service with `cargo run`.
you can start the service with `./r`.
#[test]
fn deserialize_bounce_type() {
let bounce_type: BounceType = serde_json::from_value(json!(0)).expect("JSON error");
let bounce_type: BounceType = serde_json::from_value(From::from(0)).expect("JSON error");

@philbooth

@philbooth

@philbooth

@philbooth

Closed

Read the original on github.com ↗