Skip to content

Commit ceef8bd

Browse files
README: Update info with Clone
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent c3a1a9b commit ceef8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ There are cases when schema allows extensions for the certain type.
9797
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:
9898

9999
```rust
100-
#[derive(Default, PartialEq, Debug, YaSerialize, YaDeserialize)]
100+
#[derive(Default, Clone, PartialEq, Debug, YaSerialize, YaDeserialize)]
101101
#[yaserde(prefix = "tns", namespace = "tns: http://example.com")]
102102
pub struct MyType {
103103
#[yaserde(prefix = "tns", rename = "Parameters")]

0 commit comments

Comments
 (0)