Trait sui_json_rpc_types::SuiMoveObject
source · pub trait SuiMoveObject: Sized {
// Required methods
fn try_from_layout(
object: MoveObject,
layout: MoveStructLayout,
) -> Result<Self, Error>;
fn type_(&self) -> &StructTag;
// Provided method
fn try_from(o: MoveObject, resolver: &impl GetModule) -> Result<Self, Error> { ... }
}
Required Methods§
fn try_from_layout( object: MoveObject, layout: MoveStructLayout, ) -> Result<Self, Error>
fn type_(&self) -> &StructTag
Provided Methods§
Object Safety§
This trait is not object safe.