serde专题提供serde的最新资讯内容,帮你更好的了解serde。
给定定义: <pre class="lang-rs prettyprint-override"><code>class SignupForm(UserCreationForm): email = forms.EmailField(widg
我有一个 API,它要求对象的字段按字母顺序排序,因为必须对结构进行哈希处理。 在 Java/Jackson 中
以下是 <a href="https://actix.rs/docs/extractors/" rel="nofollow noreferrer">actix-web&#39;s docs</a> 中关于如何将 <code>Query</
尝试序列化 <a href="https://docs.rs/chrono/0.4.19/chrono/struct.DateTime.html" rel="nofollow noreferrer"><code>Option&lt;chrono::Dat
我正在尝试在 Rust 中使用 Serde 和 Quick-XML 反序列化 MathML。由于 MathML 的递归性质,我在尝试编写结构时
我正在 Rust 中使用 <a href="https://crates.io/crates/redis" rel="nofollow noreferrer">redis</a> 实现一个简单的任务队列
我正在尝试为 <a href="https://kafka.apache.org/protocol.html" rel="nofollow noreferrer">Kafka wire protocol</a> 实现 Serde <code>
我正在尝试反序列化以下结构 (<code>BaseResponse&lt;T, E&gt;</code>): <pre><code>#[derive(Copy, Clone, Deserialize, Eq,
为什么我可以为我的 <code>serde::Deserialize</code> 枚举自动派生 <code>WidgetValue</code>,但对于完全由 <code>Widget
我有一个单层 <code>json</code>,其中值是 <code>i32</code>、<code>f32</code> 和 <code>String</code>。 如何将 <code>json</
我在我的应用中使用 <a href="https://docs.rs/event-emitter-rs/0.1.4/event_emitter_rs/index.html" rel="nofollow noreferrer">event_
我正在尝试将 Neo4j 与 Rust 结合使用。目前,没有官方驱动程序。我一直在尝试连接 rusted_cypher 板条箱,
我正在尝试创建一些简单的 REST API,它将接收一些无类型的 json 数据以供进一步处理,但我真的不知道
我正在尝试使用 actix-web 服务器作为通往小堆栈的网关,以保证堆栈内的数据格式严格,同时为用户提供
<pre class="lang-rust prettyprint-override"><code>#[derive(Debug, Serialize, Deserialize)] struct Foo { // for DynamoDB, name is reserve
我目前正在使用 Rocket 开发一个 Web API,它使用以下结构进行错误响应: <pre class="lang-rust prettyprint-over
Serde 提供了一种插入 <a href="https://serde.rs/attr-default.html" rel="nofollow noreferrer">default for a field</a> 的方法。
我有以下结构 <pre class="lang-rust prettyprint-override"><code>struct S { value: f32, square: f32, } </code></pre>
我正在尝试将 <code>Deserialize</code> 属性添加到结构 <code>A</code>。内容的 <code>items</code> 包含 <code>Button</code
注意: 我的问题类似于这个问题,但似乎没有解决我的用例。 <a href="https://stackoverflow.com/questions/62759099/