Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ModelPtr

Trait KeyParser defines a trait for parsing keys from a given model.

A pointer to a model, which can be expressed by an entity id.

Fully qualified path: dojo::model::model::ModelPtr

[derive(Copy, Drop, Serde, Debug, PartialEq)]
pub struct ModelPtr<M> {
    pub id: felt252,
}

Members

id

Fully qualified path: dojo::model::model::ModelPtr::id

pub id: felt252