From 3f73aa5df52335bf7d42fcd3676edc09e10da726 Mon Sep 17 00:00:00 2001 From: kmkaplan Date: Fri, 17 Feb 2023 08:05:54 +0000 Subject: [PATCH] Documentation fix Change `skip_serializing` into `skip_serializing_if`. --- doc/skip_serializing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/skip_serializing.md b/doc/skip_serializing.md index e3ecfc6..ff62ce5 100644 --- a/doc/skip_serializing.md +++ b/doc/skip_serializing.md @@ -2,7 +2,7 @@ ## skip_serializing -Attribute `skip_serializing_if` will skip the serialisation of the field if it is set to `true`. Default value is `false`. +Attribute `skip_serializing` will skip the serialisation of the field if it is set to `true`. Default value is `false`. - `#[yaserde(skip_serializing = true)]` - Skip serialization of the field. - `#[yaserde(skip_serializing = false)]` - The field will be serialized. Default value. @@ -136,4 +136,4 @@ fn main() { ``` ### Known issues -- Currently, `enum` fields are not working with `skip_serializing_if`: https://github.com/media-io/yaserde/issues/139 \ No newline at end of file +- Currently, `enum` fields are not working with `skip_serializing_if`: https://github.com/media-io/yaserde/issues/139