10 lines
133 B
Rust
10 lines
133 B
Rust
use serde_derive::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
struct Test<'a> {
|
|
#[serde(borrow = "'b")]
|
|
s: &'a str,
|
|
}
|
|
|
|
fn main() {}
|