Skip to content

Commit

Permalink
README: Update info with Clone
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Sep 19, 2024
1 parent ae443f3 commit 3a33133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ There are cases when schema allows extensions for the certain type.
In such cases we don't know in advance what fields must be present in Rust struct so we don't add them to output:

```rust
#[derive(Default, PartialEq, Debug, YaSerialize, YaDeserialize)]
#[derive(Default, Clone, PartialEq, Debug, YaSerialize, YaDeserialize)]
#[yaserde(prefix = "tns", namespace = "tns: http://example.com")]
pub struct MyType {
#[yaserde(prefix = "tns", rename = "Parameters")]
Expand Down

0 comments on commit 3a33133

Please sign in to comment.