Struct rgbstd::interface::OperationBuilder
source · pub struct OperationBuilder<Seal: ExposedSeal> { /* private fields */ }Implementations§
source§impl<Seal: ExposedSeal> OperationBuilder<Seal>
impl<Seal: ExposedSeal> OperationBuilder<Seal>
pub fn with( iface: Iface, schema: SubSchema, iimpl: IfaceImpl ) -> Result<Self, BuilderError>
pub fn add_global_state( self, name: impl Into<TypeName>, value: impl StrictSerialize ) -> Result<Self, BuilderError>
pub fn add_fungible_state( self, name: impl Into<TypeName>, seal: impl Into<BuilderSeal<Seal>>, value: u64 ) -> Result<Self, BuilderError>
pub fn add_raw_state( self, type_id: AssignmentType, seal: impl Into<BuilderSeal<Seal>>, state: TypedState ) -> Result<Self, BuilderError>
Trait Implementations§
source§impl<Seal: Clone + ExposedSeal> Clone for OperationBuilder<Seal>
impl<Seal: Clone + ExposedSeal> Clone for OperationBuilder<Seal>
source§fn clone(&self) -> OperationBuilder<Seal>
fn clone(&self) -> OperationBuilder<Seal>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more