Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

read_model_entity

Read an entity.

Arguments

  • model_selector - the model selector
  • entity_id - the ID of the entity to read.
  • layout - the model layout

Fully qualified path: dojo::storage::entity_model::read_model_entity

pub fn read_model_entity(
    model_selector: felt252, entity_id: felt252, layout: Layout,
) -> Span<felt252>