Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
str in snapbox - Rust
[go: Go Back, main page]

Macro snapbox::str

source ยท
macro_rules! str {
    [$data:literal] => { ... };
    [[$data:literal]] => { ... };
    [] => { ... };
    [[]] => { ... };
}
Expand description

Declare an expected value from within Rust source

Output type: Inline, see IntoData for operations

str![["
    Foo { value: 92 }
"]];
str![r#"{"Foo": 92}"#];