Trait RelationPropertyValidator

Source
pub trait RelationPropertyValidator: ReactiveInstanceContainer<RelationInstanceId, ReactiveRelation> {
    // Provided methods
    fn validate_outbound_property(
        &self,
        property_name: &str,
    ) -> Result<(), BehaviourPropertyInvalid> { ... }
    fn validate_inbound_property(
        &self,
        property_name: &str,
    ) -> Result<(), BehaviourPropertyInvalid> { ... }
}

Provided Methods§

Source

fn validate_outbound_property( &self, property_name: &str, ) -> Result<(), BehaviourPropertyInvalid>

Validates the outbound property with the given name.

Source

fn validate_inbound_property( &self, property_name: &str, ) -> Result<(), BehaviourPropertyInvalid>

Validates the inbound property with the given name.

Implementors§