framework_cqrs_lib::cqrs::infra::mappers::state_view

Trait CanBeManyView

Source
pub trait CanBeManyView<T: Serialize + Clone> {
    // Required method
    fn to_many_view(
        &self,
        ctx: &Context,
        ontology: String,
        other_link: HashMap<String, String>,
    ) -> ManyView<T>;
}

Required Methods§

Source

fn to_many_view( &self, ctx: &Context, ontology: String, other_link: HashMap<String, String>, ) -> ManyView<T>

Implementors§