Trait qualia::ObjectShape
source · pub trait ObjectShape: Queryable + Into<Object> {
// Required method
fn try_convert(object: Object, store: &Store) -> Result<Self, StoreError>;
}
Expand description
A type that can be converted to and from an object.
Required Methods§
sourcefn try_convert(object: Object, store: &Store) -> Result<Self, StoreError>
fn try_convert(object: Object, store: &Store) -> Result<Self, StoreError>
Try to convert the given object into this shape, retrieving any referenced objects from the given store.