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