From 731d7d46cd30ca1a2f33c6906c8f26b9574820e1 Mon Sep 17 00:00:00 2001 From: kmiura Date: Fri, 25 Feb 2022 03:04:27 +0900 Subject: [PATCH] Describe default value of ActiveValue on document --- src/entity/active_model.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entity/active_model.rs b/src/entity/active_model.rs index 06e30cdea..1fa257570 100644 --- a/src/entity/active_model.rs +++ b/src/entity/active_model.rs @@ -652,6 +652,7 @@ impl Default for ActiveValue where V: Into, { + /// Create an [ActiveValue::NotSet] fn default() -> Self { Self::NotSet }