MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / set

Method set

src/entity/active_model.rs:790–792  ·  view source on GitHub ↗

Create an [ActiveValue::Set]

(value: V)

Source from the content-addressed store, hash-verified

788{
789 /// Create an [ActiveValue::Set]
790 pub fn set(value: V) -> Self {
791 Self::Set(value)
792 }
793
794 /// Check if the [ActiveValue] is [ActiveValue::Set]
795 pub fn is_set(&self) -> bool {

Callers 4

try_setMethod · 0.45
set_from_jsonMethod · 0.45
from_jsonMethod · 0.45

Calls

no outgoing calls

Tested by 1