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

Method is_set

src/entity/active_model.rs:795–797  ·  view source on GitHub ↗

Check if the [ActiveValue] is [ActiveValue::Set]

(&self)

Source from the content-addressed store, hash-verified

793
794 /// Check if the [ActiveValue] is [ActiveValue::Set]
795 pub fn is_set(&self) -> bool {
796 matches!(self, Self::Set(_))
797 }
798
799 /// Create an [ActiveValue::Unchanged]
800 pub fn unchanged(value: V) -> Self {

Callers 2

addMethod · 0.80
is_changedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected