2018-12-31 20:36:59 -06:00
|
|
|
use serde_derive::Deserialize;
|
2017-04-02 23:42:07 -05:00
|
|
|
|
2018-06-03 00:19:39 -05:00
|
|
|
#[derive(Deserialize)]
|
2017-04-02 23:42:07 -05:00
|
|
|
struct Test<'a> {
|
2018-06-02 23:11:42 -05:00
|
|
|
#[serde(borrow = "")]
|
2023-03-08 20:49:59 -06:00
|
|
|
r: &'a str,
|
|
|
|
#[serde(borrow = " ")]
|
2017-04-02 23:42:07 -05:00
|
|
|
s: &'a str,
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|